| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ChatScript extends Model |
||
| 10 | { |
||
| 11 | use LogsActivity; |
||
| 12 | protected $table = 'chat_scripts'; |
||
| 13 | protected $fillable = ['name', 'script']; |
||
| 14 | protected static $logName = 'Chat Script'; |
||
| 15 | protected static $logAttributes = ['name', 'script']; |
||
| 16 | protected static $logOnlyDirty = true; |
||
| 17 | |||
| 18 | public function getDescriptionForEvent(string $eventName): string |
||
| 39 |