Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class MailChannel extends Component implements ChannelInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var $mailer MailerInterface|array|string the mailer object or the application component ID of the mailer object. |
||
|
|||
19 | */ |
||
20 | public $mailer = 'mailer'; |
||
21 | |||
22 | /** |
||
23 | * The message sender. |
||
24 | * @var string |
||
25 | */ |
||
26 | public $from; |
||
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | public function init() |
||
35 | } |
||
36 | |||
37 | public function send(NotifiableInterface $recipient, NotificationInterface $notification) |
||
50 |