Total Complexity | 4 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class PasswordResetBatchElement extends BatchElement |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $userModel; |
||
17 | |||
18 | /** |
||
19 | * @var EventDispatcherInterface |
||
20 | */ |
||
21 | private $eventDispatcher; |
||
22 | |||
23 | public function __construct($options, $userModel, EventDispatcherInterface $eventDispatcher) |
||
24 | { |
||
25 | parent::__construct($options); |
||
26 | $this->userModel = $userModel; |
||
27 | $this->eventDispatcher = $eventDispatcher; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param ResettablePasswordInterface $object |
||
32 | */ |
||
33 | public function apply($object): void |
||
38 | ); |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function getId(): string |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function getClassName(): string |
||
57 |