| 1 | <?php |
||
| 10 | class Fragment extends LanguageLine implements HasMediaConversions |
||
| 11 | { |
||
| 12 | use FragmentPresenter, HasMedia; |
||
| 13 | |||
| 14 | protected static $logAttributes = ['name', 'text']; |
||
| 15 | |||
| 16 | protected static $recordEvents = ['updated']; |
||
| 17 | |||
| 18 | protected $mediaLibraryCollections = ['images']; |
||
| 19 | |||
| 20 | public $casts = [ |
||
| 21 | 'contains_html' => 'boolean', |
||
| 22 | 'hidden' => 'boolean', |
||
| 23 | 'text' => 'array', |
||
| 24 | ]; |
||
| 25 | |||
| 26 | public $table = 'fragments'; |
||
| 27 | |||
| 28 | public function getDescriptionForEvent(string $eventName): string |
||
| 34 | |||
| 35 | public function getNameAttribute(): string |
||
| 39 | |||
| 40 | public function registerMediaConversions() |
||
| 52 | } |
||
| 53 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.