MyReservationDefaultTrait
The only action `default` (page 303): mounts the list of the logged-in customer's reservations.
See the MyReservationPresenter docblock.
Table of Contents
Properties
Methods
- createComponentFrontCompanyBookingWizard() : BookingWizard
- `{control frontCompanyBookingWizard:button}` above the list: a "Book a time slot" button that opens the wizard in a modal window ({@see \App\UI\Front\Company\Components\BookingWizardComponent\Traits\ModalTrait::handleShowCalendarModal()}).
- createComponentFrontCompanyMyReservationList() : MyReservationList
- `{control frontCompanyMyReservationList}`; the name is global (convention `front<Module><Component>`).
- renderDefault() : void
Properties
$bookingWizardFactory
public
BookingWizardFactory
$bookingWizardFactory
Attributes
- #[Inject]
$myReservationListFactory
public
MyReservationListFactory
$myReservationListFactory
Attributes
- #[Inject]
Methods
createComponentFrontCompanyBookingWizard()
`{control frontCompanyBookingWizard:button}` above the list: a "Book a time slot" button that opens the wizard in a modal window ({@see \App\UI\Front\Company\Components\BookingWizardComponent\Traits\ModalTrait::handleShowCalendarModal()}).
public
createComponentFrontCompanyBookingWizard() : BookingWizard
IMPORTANT: it is the same component as on page 304 (one component, two render modes). The presenter passes nothing to it; the mode is carried by the persistent parameter inModal.
Return values
BookingWizardcreateComponentFrontCompanyMyReservationList()
`{control frontCompanyMyReservationList}`; the name is global (convention `front<Module><Component>`).
public
createComponentFrontCompanyMyReservationList() : MyReservationList
Return values
MyReservationListrenderDefault()
public
renderDefault() : void