1 | <?php |
||
19 | trait AllReadableTrait |
||
20 | { |
||
21 | /** |
||
22 | * @var RawPropertyAccessor |
||
23 | */ |
||
24 | protected $accessor; |
||
25 | |||
26 | 28 | protected function getPropertyAccessor() |
|
27 | { |
||
28 | 28 | if (!$this->accessor) |
|
29 | { |
||
30 | 25 | $this->accessor = new RawPropertyAccessor($this); |
|
31 | } |
||
32 | |||
33 | 28 | return $this->accessor; |
|
34 | } |
||
35 | |||
36 | 28 | public function __get($property) |
|
40 | } |
||
41 |