1 | <?php |
||
18 | class DeleteObjectJob extends AbstractQueuedJob |
||
19 | { |
||
20 | /** |
||
21 | * @param DataObject $node |
||
22 | */ |
||
23 | public function __construct($node = null) |
||
32 | |||
33 | /** |
||
34 | * @param string $name |
||
35 | * @return DataObject |
||
36 | */ |
||
37 | protected function getObject($name = 'Object') |
||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getJobType() |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getTitle() |
||
62 | |||
63 | public function process() |
||
70 | } |
||
71 |
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.