1 | <?php |
||
2 | |||
3 | namespace Frontend\Modules\Mailmotor\Domain\Subscription\Event; |
||
4 | |||
5 | use Frontend\Modules\Mailmotor\Domain\Subscription\Command\Unsubscription; |
||
6 | use Symfony\Component\EventDispatcher\Event; |
||
7 | |||
8 | final class NotImplementedUnsubscribedEvent extends Event |
||
0 ignored issues
–
show
Deprecated Code
introduced
by
![]() |
|||
9 | { |
||
10 | const EVENT_NAME = 'mailmotor.event.not_implemented.unsubscribed'; |
||
11 | |||
12 | /** |
||
13 | * @var Unsubscription |
||
14 | */ |
||
15 | private $unsubscription; |
||
16 | |||
17 | public function __construct(Unsubscription $unsubscription) |
||
18 | { |
||
19 | $this->unsubscription = $unsubscription; |
||
20 | } |
||
21 | |||
22 | public function getUnsubscription(): Unsubscription |
||
23 | { |
||
24 | return $this->unsubscription; |
||
25 | } |
||
26 | } |
||
27 |