1 | <?php defined('SYSPATH') OR die('No direct script access.'); |
||
9 | class Kohana_Model_Promotion_Promocode_Percent extends Model_Promotion_Promocode { |
||
10 | |||
11 | /** |
||
12 | * @codeCoverageIgnore |
||
13 | */ |
||
14 | public static function initialize(Jam_Meta $meta) |
||
24 | |||
25 | 1 | public function price_for_purchase_item(Model_Purchase_Item $purchase_item) |
|
33 | } |
||
34 |
Since your code implements the magic getter
_get
, this function will be called for any read access on an undefined variable. You can add the@property
annotation to your class or interface to document the existence of this variable.If the property has read access only, you can use the @property-read 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.