I'm tring to retrieve data like view and markdown names (not rendering view) example: emails.user.welcome
for each mailable class in the app/Mail
directory.
Var dump UserWelcome
mailable class:
Route::get('rendermail', function() {
$email = ( new App\Mail\UserWelcome() );
return dd($email);
});
Var dump output
UserWelcome {#441 ▼
+locale: null
+from: []
+to: []
+cc: []
+bcc: []
+replyTo: []
+subject: null
#markdown: null
#html: null
+view: null
+textView: null
+viewData: []
+attachments: []
+rawAttachments: []
+callbacks: []
+connection: null
+queue: null
+chainConnection: null
+chainQueue: null
+delay: null
+chained: []
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2PXFy5y
via IFTTT
Aucun commentaire:
Enregistrer un commentaire