| 1 | <?php |
||
| 8 | class CreateUserHandler |
||
| 9 | { |
||
| 10 | private $userRepository; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * CreateUserHandler constructor. |
||
| 14 | * |
||
| 15 | * @param UserRepository $userRepository |
||
| 16 | */ |
||
| 17 | public function __construct(UserRepository $userRepository) |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param CreateUser $command |
||
| 24 | */ |
||
| 25 | public function handle(CreateUser $command) |
||
| 30 | } |
||
| 31 |