This commit is contained in:
as2252258@163.com
2021-08-04 01:18:30 +08:00
parent 99e27e964b
commit 3f3027f09c
+15
View File
@@ -167,6 +167,21 @@ abstract class BaseApplication extends Component
} }
/**
* @param $name
* @return mixed
* @throws \ReflectionException
* @throws \Snowflake\Exception\NotFindClassException
*/
public function __get($name): mixed
{
if ($this->has($name)) {
return $this->get($name);
}
return parent::__get($name); // TODO: Change the autogenerated stub
}
/** /**
* @param $config * @param $config
* *