PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
nwidart
/
laravel-modules
/
src
/
Commands
/
stubs
<?php namespace $NAMESPACE$; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; class $CLASS$ extends Notification { use Queueable; /** * Create a new notification instance. * * @return void */ public function __construct() { // } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return ['mail']; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) { return (new MailMessage) ->line('The introduction to the notification.') ->action('Notification Action', 'https://laravel.com') ->line('Thank you for using our application!'); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } }
[-] model.stub
[edit]
[-] job-queued.stub
[edit]
[+]
scaffold
[-] unit-test.stub
[edit]
[-] mail.stub
[edit]
[-] controller.stub
[edit]
[+]
..
[-] notification.stub
[edit]
[-] event.stub
[edit]
[-] listener-duck.stub
[edit]
[-] composer.stub
[edit]
[-] controller-api.stub
[edit]
[-] listener-queued-duck.stub
[edit]
[-] json.stub
[edit]
[-] webpack.stub
[edit]
[-] seeder.stub
[edit]
[-] middleware.stub
[edit]
[+]
migration
[-] policy.plain.stub
[edit]
[-] component-class.stub
[edit]
[-] request.stub
[edit]
[-] resource-collection.stub
[edit]
[+]
routes
[-] feature-test.stub
[edit]
[-] package.stub
[edit]
[-] factory.stub
[edit]
[+]
assets
[-] listener.stub
[edit]
[-] job.stub
[edit]
[-] component-view.stub
[edit]
[-] command.stub
[edit]
[+]
views
[-] route-provider.stub
[edit]
[-] rule.stub
[edit]
[-] provider.stub
[edit]
[-] resource.stub
[edit]
[-] listener-queued.stub
[edit]
[-] controller-plain.stub
[edit]