Fix bin/publish: use correct .env path for rspade_system Fix bin/publish script: prevent grep exit code 1 from terminating script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
64 lines
1.2 KiB
Plaintext
Executable File
64 lines
1.2 KiB
Plaintext
Executable File
<?php
|
|
|
|
namespace {{ namespace }};
|
|
|
|
use {{ namespacedModel }};
|
|
|
|
class {{ class }}
|
|
{
|
|
/**
|
|
* Handle the {{ model }} "created" event.
|
|
*
|
|
* @param \{{ namespacedModel }} ${{ modelVariable }}
|
|
* @return void
|
|
*/
|
|
public function created({{ model }} ${{ modelVariable }})
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the {{ model }} "updated" event.
|
|
*
|
|
* @param \{{ namespacedModel }} ${{ modelVariable }}
|
|
* @return void
|
|
*/
|
|
public function updated({{ model }} ${{ modelVariable }})
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the {{ model }} "deleted" event.
|
|
*
|
|
* @param \{{ namespacedModel }} ${{ modelVariable }}
|
|
* @return void
|
|
*/
|
|
public function deleted({{ model }} ${{ modelVariable }})
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the {{ model }} "restored" event.
|
|
*
|
|
* @param \{{ namespacedModel }} ${{ modelVariable }}
|
|
* @return void
|
|
*/
|
|
public function restored({{ model }} ${{ modelVariable }})
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the {{ model }} "force deleted" event.
|
|
*
|
|
* @param \{{ namespacedModel }} ${{ modelVariable }}
|
|
* @return void
|
|
*/
|
|
public function forceDeleted({{ model }} ${{ modelVariable }})
|
|
{
|
|
//
|
|
}
|
|
}
|