49 lines
799 B
Plaintext
49 lines
799 B
Plaintext
|
<?php
|
||
|
|
||
|
namespace $NAMESPACE$;
|
||
|
|
||
|
use $MODEL_NAMESPACE$\$NAME$;
|
||
|
|
||
|
class $NAME$Observer
|
||
|
{
|
||
|
/**
|
||
|
* Handle the $NAME$ "created" event.
|
||
|
*/
|
||
|
public function created($NAME$ $NAME_VARIABLE$): void
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Handle the $NAME$ "updated" event.
|
||
|
*/
|
||
|
public function updated($NAME$ $NAME_VARIABLE$): void
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Handle the $NAME$ "deleted" event.
|
||
|
*/
|
||
|
public function deleted($NAME$ $NAME_VARIABLE$): void
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Handle the $NAME$ "restored" event.
|
||
|
*/
|
||
|
public function restored($NAME$ $NAME_VARIABLE$): void
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Handle the $NAME$ "force deleted" event.
|
||
|
*/
|
||
|
public function forceDeleted($NAME$ $NAME_VARIABLE$): void
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
}
|