1 | <?php |
||
7 | abstract class AbstractController |
||
8 | { |
||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $_templateVars = []; |
||
13 | |||
14 | /** |
||
15 | * @var string|null |
||
16 | */ |
||
17 | protected $_template = null; |
||
18 | |||
19 | /** |
||
20 | * @var App |
||
21 | */ |
||
22 | protected $app; |
||
23 | |||
24 | public function __construct(App $app) |
||
28 | |||
29 | public function set($vars) |
||
33 | |||
34 | public function templateVars() |
||
38 | |||
39 | public function render() |
||
55 | |||
56 | protected function config(string $key) |
||
60 | } |
||
61 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.