1 | <?php |
||
10 | class ImageCollection extends AbstractCollection implements CollectionInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var Image|null |
||
14 | */ |
||
15 | protected $mainImage; |
||
16 | |||
17 | protected function getValidObjectType() |
||
21 | |||
22 | /** |
||
23 | * @param Image $image |
||
24 | * @return ImageCollection |
||
25 | */ |
||
26 | public function withMain(Image $image) |
||
34 | |||
35 | /** |
||
36 | * @return Image|null |
||
37 | */ |
||
38 | public function getMain() |
||
54 | |||
55 | /** |
||
56 | * @param UUID $uuid |
||
57 | * @return Image|null |
||
58 | */ |
||
59 | public function findImageByUUID(UUID $uuid) |
||
70 | } |
||
71 |
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.