我正在尝试检索诸如视图和降价名称(不呈现视图)之类的数据示例:emails.user.welcome
对于app/Mail
目录中的每个可邮寄类。
Var dumpUserWelcome
可邮寄类:
Route::get('rendermail', function() {
$email = ( new App\Mail\UserWelcome() );
return dd($email);
});
var 转储输出
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: []