phpvms/resources/stubs/modules/mail.stub

36 lines
495 B
Plaintext
Raw Normal View History

2017-12-14 12:24:41 +08:00
<?php
namespace $NAMESPACE$;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
/**
* Class $CLASS$
* @package $NAMESPACE$
*/
2017-12-14 12:24:41 +08:00
class $CLASS$ extends Mailable
{
use SerializesModels;
2017-12-14 12:24:41 +08:00
/**
* Create a new message instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return view('view.name');
2017-12-14 12:24:41 +08:00
}
}