This commit is contained in:
as2252258@163.com
2021-08-04 01:18:30 +08:00
parent 99e27e964b
commit 3f3027f09c
+16 -1
View File
@@ -167,7 +167,22 @@ 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
*
* @throws