| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 10 | class EnrollerChangeEvent extends Event |
||
| 11 | { |
||
| 12 | public const NAME = 'enroller.changed'; |
||
| 13 | |||
| 14 | protected $customer; |
||
| 15 | |||
| 16 | protected $enroller; |
||
| 17 | |||
| 18 | public function __construct(Customer $customer, Customer $enroller) |
||
| 19 | { |
||
| 20 | $this->customer = $customer; |
||
| 21 | $this->enroller = $enroller; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getCustomer() |
||
| 25 | { |
||
| 26 | return $this->customer; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function getEnroller() |
||
| 32 | } |
||
| 33 | } |