| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 26 | class SendMailStrategy extends AbstractStrategy |
||
| 27 | { |
||
| 28 | private $mailService; |
||
| 29 | |||
| 30 | public function __construct(MailService $mailService) |
||
| 31 | { |
||
| 32 | $this->mailService = $mailService; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Registers itself with an EventManager |
||
| 37 | * |
||
| 38 | * @param EventManagerInterface $events |
||
| 39 | * @param int $priority |
||
| 40 | */ |
||
| 41 | public function attach(EventManagerInterface $events, $priority = 1) : void |
||
| 47 | } |
||
| 48 | } |
||
| 49 |