1 | <?php |
||
3 | class App extends Ajde_Object_Singleton implements Ajde_BootstrapInterface |
||
4 | { |
||
5 | public static function getInstance() |
||
11 | |||
12 | public function __bootstrap() |
||
27 | |||
28 | public function onTransactionPaid(TransactionModel $transaction) |
||
41 | |||
42 | public function onTransactionCreated(TransactionModel $transaction) |
||
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.