Model
class Model extends Model
Properties
| protected | $casts | ||
| protected | $connection |
Methods
No description
Illuminate\Database\Eloquent\SoftDeletes updates deleted_at only See main/System/Observers/ModelsObserver.php deleting()
Finds a model or response with 404
General method that returns the model user
Generic method that returns the user who created the record
Generic method that synchronizes the categories of a model
Generic method that returns the categories of a model
Details
at line 14
static protected
boot()
No description
at line 23
_delete(string|null $date = null, string $connection = "tenant")
Illuminate\Database\Eloquent\SoftDeletes updates deleted_at only See main/System/Observers/ModelsObserver.php deleting()
at line 40
static An
findOr404(int|string $id)
Finds a model or response with 404
at line 51
User
user()
General method that returns the model user
at line 60
User
creationUser()
Generic method that returns the user who created the record
at line 70
syncCategories(array $categories, string|null $class = null)
Generic method that synchronizes the categories of a model
at line 79
Collection
categories()
Generic method that returns the categories of a model