1 | <?php |
||
16 | class InboundEmail extends Model |
||
17 | { |
||
18 | protected $table = 'mailbox_inbound_emails'; |
||
19 | |||
20 | /** @var MimeMessage */ |
||
21 | protected $mimeMessage; |
||
22 | |||
23 | protected $fillable = [ |
||
24 | 'message', |
||
25 | ]; |
||
26 | |||
27 | protected static function boot() |
||
35 | |||
36 | public static function fromMessage($message) |
||
42 | |||
43 | public function id(): string |
||
47 | |||
48 | public function date(): Carbon |
||
52 | |||
53 | public function text(): ?string |
||
57 | |||
58 | public function visibleText(): ?string |
||
62 | |||
63 | public function html(): ?string |
||
67 | |||
68 | public function subject(): ?string |
||
72 | |||
73 | public function from(): string |
||
83 | |||
84 | public function fromName(): string |
||
94 | |||
95 | /** |
||
96 | * @return AddressPart[] |
||
97 | */ |
||
98 | public function to(): array |
||
102 | |||
103 | /** |
||
104 | * @return AddressPart[] |
||
105 | */ |
||
106 | public function cc(): array |
||
110 | |||
111 | protected function convertAddressHeader($header): array |
||
119 | |||
120 | /** |
||
121 | * @return MessagePart[] |
||
122 | */ |
||
123 | public function attachments() |
||
127 | |||
128 | public function message(): MimeMessage |
||
134 | |||
135 | public function reply(Mailable $mailable) |
||
139 | |||
140 | public function forward($recipients) |
||
148 | |||
149 | public function body() |
||
153 | |||
154 | public function isHtml() |
||
158 | |||
159 | public function isText() |
||
163 | |||
164 | public function isValid(): bool |
||
168 | } |
||
169 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.