| 1 | <?php |
||
| 15 | class Product extends ActiveRecord implements CartItemInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | public static function tableName(): string |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return int |
||
| 27 | */ |
||
| 28 | public function getPrice(): int |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getLabel(): string |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | public function getUniqueId(): int |
||
| 48 | } |
||
| 49 |