| 1 | <?php |
||
| 18 | final class FireEmployeeHandler |
||
| 19 | { |
||
| 20 | /** @var EmployeeRepositoryInterface */ |
||
| 21 | private $employeeRepository; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param EmployeeRepositoryInterface $employeeRepository |
||
| 25 | */ |
||
| 26 | public function __construct(EmployeeRepositoryInterface $employeeRepository) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param FireEmployee $command |
||
| 33 | * |
||
| 34 | * @throws \Al\ResourceManagement\Domain\Exception\NotExistingEmployee |
||
| 35 | */ |
||
| 36 | public function handle(FireEmployee $command) |
||
| 44 | } |
||
| 45 |