File "observer.stub"
Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/laravel/framework/src/Illuminate/Foundation/Console/stubs/observer.stub
File size: 872 bytes
MIME-type: text/x-php
Charset: utf-8
<?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
{
//
}
}