src/Command/AddUserCommand.php 1 location
|
@@ 63-71 (lines=9) @@
|
| 60 |
|
private $validator; |
| 61 |
|
private $users; |
| 62 |
|
|
| 63 |
|
public function __construct(EntityManagerInterface $em, UserPasswordEncoderInterface $encoder, Validator $validator, UserRepository $users) |
| 64 |
|
{ |
| 65 |
|
parent::__construct(); |
| 66 |
|
|
| 67 |
|
$this->entityManager = $em; |
| 68 |
|
$this->passwordEncoder = $encoder; |
| 69 |
|
$this->validator = $validator; |
| 70 |
|
$this->users = $users; |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
/** |
| 74 |
|
* {@inheritdoc} |
src/Command/DeleteUserCommand.php 1 location
|
@@ 52-59 (lines=8) @@
|
| 49 |
|
private $validator; |
| 50 |
|
private $users; |
| 51 |
|
|
| 52 |
|
public function __construct(EntityManagerInterface $em, Validator $validator, UserRepository $users) |
| 53 |
|
{ |
| 54 |
|
parent::__construct(); |
| 55 |
|
|
| 56 |
|
$this->entityManager = $em; |
| 57 |
|
$this->validator = $validator; |
| 58 |
|
$this->users = $users; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
/** |
| 62 |
|
* {@inheritdoc} |