artisan.eplus.dev

make:observer

Create a new observer class

Terminal
php artisan make:observer [-m|--model [MODEL]] [--] <name>

Options

modelOptional

The model that the observer applies to.

Arguments

nameRequired

The name of the class

Maintained by hoangsvit · Fork of artisan.page