| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Comodojo\Extender\Events; |
||
| 22 | class ScheduleEvent extends AbstractEvent { |
||
| 23 | |||
| 24 | private $schedule; |
||
| 25 | |||
| 26 | private $parent_schedule; |
||
| 27 | |||
| 28 | public function __construct($event, Schedule $schedule, Schedule $parent_schedule = null) { |
||
| 29 | |||
| 30 | parent::__construct("extender.schedule.$event"); |
||
| 31 | |||
| 32 | $this->schedule = $schedule; |
||
| 33 | $this->parent_schedule = $parent_schedule; |
||
| 34 | |||
| 35 | } |
||
| 36 | |||
| 37 | public function getSchedule() { |
||
| 40 | |||
| 41 | } |
||
| 42 | |||
| 43 | public function getParentSchedule() { |
||
| 46 | |||
| 47 | } |
||
| 50 |