phpvms/resources/stubs/modules/mail.stub

38 lines
580 B
Plaintext
Raw Normal View History

2017-12-14 12:24:41 +08:00
<?php
namespace $NAMESPACE$;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
/**
* Class $CLASS$
* @package $NAMESPACE$
*/
2017-12-14 12:24:41 +08:00
class $CLASS$ extends Mailable
{
use Queueable, SerializesModels;
/**
* 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
}
}