1 | <?php |
||
23 | final class NewCommentNotification implements NotificationInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var UserId |
||
27 | */ |
||
28 | private $postAuthorId; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | private $postAuthorMobile; |
||
34 | |||
35 | /** |
||
36 | * @var \Acme\App\Core\SharedKernel\Component\Blog\Domain\Post\Comment\CommentId |
||
37 | */ |
||
38 | private $commentId; |
||
39 | |||
40 | /** |
||
41 | * @var EmailAddress |
||
42 | */ |
||
43 | private $emailAddress; |
||
44 | |||
45 | /** |
||
46 | * @var PostId |
||
47 | */ |
||
48 | private $postId; |
||
49 | |||
50 | /** |
||
51 | * @var string |
||
52 | */ |
||
53 | private $postTitle; |
||
54 | |||
55 | /** |
||
56 | * @var string |
||
57 | */ |
||
58 | private $postSlug; |
||
59 | |||
60 | public function __construct( |
||
77 | |||
78 | public function getDestinationUserId(): UserId |
||
82 | |||
83 | public function getPostAuthorMobile(): string |
||
87 | |||
88 | public function getCommentId(): CommentId |
||
92 | |||
93 | public function getPostAuthorEmail(): EmailAddress |
||
97 | |||
98 | public function getPostId(): PostId |
||
102 | |||
103 | public function getPostTitle(): string |
||
107 | |||
108 | public function getPostSlug(): string |
||
112 | } |
||
113 |