/** {@inheritdoc} */
 public function get(UuidInterface $bookId)
 {
     $views = [];
     /** @var Reservation $reservation */
     foreach ($this->repository->getAll() as $reservation) {
         if (!$reservation->bookId()->equals($bookId)) {
             continue;
         }
         $views[] = new ReservationView((string) $reservation->id(), $reservation->email(), $reservation->isGivenAway() ? $reservation->givenAwayAt()->format('Y-m-d H:i:s') : null);
     }
     return $views;
 }