| 1 | <?php |
||
| 12 | class LocalReservationRepository implements ReservationRepository |
||
| 13 | { |
||
| 14 | /** @var FileRepository */ |
||
| 15 | private $file; |
||
| 16 | |||
| 17 | public function clear() |
||
| 21 | |||
| 22 | /** {@inheritdoc} */ |
||
| 23 | public function save(Reservation $reservation) |
||
| 27 | |||
| 28 | /** {@inheritdoc} */ |
||
| 29 | public function getAll() |
||
| 33 | |||
| 34 | /** {@inheritdoc} */ |
||
| 35 | public function remove(UuidInterface $reservationId) |
||
| 41 | |||
| 42 | /** {@inheritdoc} */ |
||
| 43 | public function get(UuidInterface $reservationId) |
||
| 51 | |||
| 52 | /** {@inheritdoc} */ |
||
| 53 | public function existsAlreadyGivenOfBook(UuidInterface $bookId) |
||
| 64 | |||
| 65 | public function __construct() |
||
| 69 | } |
||
| 70 |