- Migrating to SymfonyMailer from Swift
This commit is contained in:
1 parent
34b850c780
commit
cbfc87e12d
4 files changed
+101
-43
No files matched your search
@@ -6,9 +6,9 @@ interface MailerInterface
|
||||
{
|
||||
public function send(string $subject, string $message, bool $html = true) : bool;
|
||||
|
||||
public function setFrom($from) : self;
|
||||
public function setFrom(string|\Stringable|array $from) : self;
|
||||
|
||||
public function attach(\Swift_Attachment $attachment) : self;
|
||||
public function attach(mixed $attachment) : self;
|
||||
|
||||
public function setTo($to) : self;
|
||||
public function setTo(string|\Stringable|array $to) : self;
|
||||
}
|
||||
Reference in new issue
Block a user