| 1 | <?php |
||
| 9 | class CreateReservation |
||
| 10 | { |
||
| 11 | /** @var ReservationRepository */ |
||
| 12 | private $reservations; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param ReservationRepository $bookings |
||
| 16 | */ |
||
| 17 | public function __construct(ReservationRepository $bookings) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param UuidInterface $reservationId |
||
| 24 | * @param UuidInterface $bookId |
||
| 25 | * @param string $email |
||
| 26 | */ |
||
| 27 | public function create(UuidInterface $reservationId, UuidInterface $bookId, $email) |
||
| 31 | } |
||
| 32 |