diff --git a/src/Application.php b/src/Application.php index a278a40..b33115c 100644 --- a/src/Application.php +++ b/src/Application.php @@ -864,6 +864,25 @@ public function __unset(mixed $name): void unset($this->param[$name]); } + public function __get(mixed $name) + { + return $this->param[$name]; + } + + public function __isset(mixed $name): bool + { + return isset($this->data[$name]); + } + public function __set(mixed $name, mixed $value): void + { + $this->param[$name] = $value; + } + + public function __unset(mixed $name): void + { + unset($this->param[$name]); + } + public function __destruct() { $this->bootedCallbacks = [];