| 1 | <?php |
||
| 11 | class MoviesItem implements ItemInterface{ |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var $id |
||
| 15 | */ |
||
| 16 | protected $id; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Constructor |
||
| 20 | * @param $id |
||
| 21 | */ |
||
| 22 | public function __construct($id){ |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | public function add(ItemInterface $item){} |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return mixed |
||
| 34 | */ |
||
| 35 | public function remove(ItemInterface $item){} |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | public function clear(){} |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | public function all(){} |
||
| 46 | |||
| 47 | |||
| 48 | /** |
||
| 49 | * @param $id |
||
| 50 | * @return mixed |
||
| 51 | * @throws ItemException |
||
| 52 | */ |
||
| 53 | public function getMovie(){ |
||
| 62 | |||
| 63 | |||
| 64 | /** |
||
| 65 | * @return mixed |
||
| 66 | * @throws ItemException |
||
| 67 | */ |
||
| 68 | public function __toString(){ |
||
| 71 | |||
| 72 | } |
||
| 73 | |||
| 74 |