bookings->find_by_id( $booking_id ); if ( null === $booking ) { throw new DomainException( 'booking.not_found', 'Booking not found.' ); } $booking->set_internal_notes( $notes, $this->clock->now() ); $this->bookings->save( $booking, false ); return $booking; } }