1 | <?php |
||
20 | final class HireEmployeeHandler |
||
21 | { |
||
22 | /** @var EmployeeRepositoryInterface */ |
||
23 | private $employeeRepository; |
||
24 | |||
25 | /** |
||
26 | * @param EmployeeRepositoryInterface $employeeRepository |
||
27 | */ |
||
28 | public function __construct(EmployeeRepositoryInterface $employeeRepository) |
||
32 | |||
33 | /** |
||
34 | * @param HireEmployee $command |
||
35 | */ |
||
36 | public function handle(HireEmployee $command) |
||
48 | } |
||
49 |