Automation init...2
This commit is contained in:
parent
b652503c95
commit
6b273f0551
@ -8,6 +8,8 @@ abstract class CommonController extends BaseController
|
||||
{
|
||||
private $_datas = [];
|
||||
|
||||
protected function __construct() {}
|
||||
|
||||
final public function __get($name): array|null
|
||||
{
|
||||
if (!array_key_exists($name, $this->_datas)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user