D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
www
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Console
/
stubs
/
Filename :
observer.stub
back
Copy
<?php namespace {{ namespace }}; use {{ namespacedModel }}; class {{ class }} { /** * Handle the {{ model }} "created" event. */ public function created({{ model }} ${{ modelVariable }}): void { // } /** * Handle the {{ model }} "updated" event. */ public function updated({{ model }} ${{ modelVariable }}): void { // } /** * Handle the {{ model }} "deleted" event. */ public function deleted({{ model }} ${{ modelVariable }}): void { // } /** * Handle the {{ model }} "restored" event. */ public function restored({{ model }} ${{ modelVariable }}): void { // } /** * Handle the {{ model }} "force deleted" event. */ public function forceDeleted({{ model }} ${{ modelVariable }}): void { // } }