1 | <?php |
||
16 | class PdfLetter extends Record implements HasMedia |
||
17 | { |
||
18 | use PdfLetterTrait; |
||
19 | |||
20 | /** |
||
21 | * @return FileDisk |
||
22 | */ |
||
23 | public function getMediaFilesystemDisk() |
||
34 | |||
35 | public function getItemsManager() |
||
38 | |||
39 | /** |
||
40 | * @return AbstractRecordTrait |
||
41 | */ |
||
42 | public function getModelExample() |
||
46 | } |
||
47 |
Since your code implements the magic setter
_set
, this function will be called for any write access on an undefined variable. You can add the@property
annotation to your class or interface to document the existence of this variable.Since the property has write access only, you can use the @property-write annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.