1 | <?php |
||
15 | class Item implements |
||
16 | ItemInterface, |
||
17 | Timestampable |
||
18 | { |
||
19 | use TimestampableTrait; |
||
20 | |||
21 | /** |
||
22 | * @var mixed |
||
23 | */ |
||
24 | protected $id; |
||
25 | |||
26 | /** |
||
27 | * @var WishlistInterface |
||
28 | */ |
||
29 | protected $wishlist; |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function getId() |
||
38 | |||
39 | /** |
||
40 | * @param mixed $id |
||
41 | * |
||
42 | * @return ItemInterface |
||
43 | */ |
||
44 | public function setId($id): ItemInterface |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function getWishlist() |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function setWishlist(WishlistInterface $wishlist): ItemInterface |
||
68 | } |
||
69 |