AddEventCommand.php
7 years ago
AddEventCommandHandler.php
2 years ago
DeleteEventBookingCommand.php
7 years ago
DeleteEventBookingCommandHandler.php
1 year ago
DeleteEventCommand.php
7 years ago
DeleteEventCommandHandler.php
2 years ago
GetCalendarEventsCommand.php
4 years ago
GetCalendarEventsCommandHandler.php
1 year ago
GetEventBookingsCommand.php
1 year ago
GetEventBookingsCommandHandler.php
1 year ago
GetEventCommand.php
7 years ago
GetEventCommandHandler.php
1 year ago
GetEventDeleteEffectCommand.php
7 years ago
GetEventDeleteEffectCommandHandler.php
2 years ago
GetEventsCommand.php
7 years ago
GetEventsCommandHandler.php
1 year ago
UpdateEventBookingCommand.php
7 years ago
UpdateEventBookingCommandHandler.php
1 year ago
UpdateEventCommand.php
7 years ago
UpdateEventCommandHandler.php
1 year ago
UpdateEventStatusCommand.php
7 years ago
UpdateEventStatusCommandHandler.php
2 years ago
GetEventCommand.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaBooking\Application\Commands\Booking\Event; |
| 4 | |
| 5 | use AmeliaBooking\Application\Commands\Command; |
| 6 | |
| 7 | /** |
| 8 | * Class GetEventCommand |
| 9 | * |
| 10 | * @package AmeliaBooking\Application\Commands\Booking\Event |
| 11 | */ |
| 12 | class GetEventCommand extends Command |
| 13 | { |
| 14 | /** |
| 15 | * GetEventCommand constructor. |
| 16 | * |
| 17 | * @param $args |
| 18 | */ |
| 19 | public function __construct($args) |
| 20 | { |
| 21 | parent::__construct($args); |
| 22 | if (isset($args['id'])) { |
| 23 | $this->setField('id', $args['id']); |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 |