Method |
Description |
|
delete ( integer $id ) : integer |
Destroy item of model by id :id. |
|
forceDelete ( integer $id, $field = 'field' ) : boolean | null |
Force destroy item of model by id :id. |
|
get ( integer $id, array $columns = ['*'], array $with = [], array $load = [] ) : Domains\BaseModel |
Get item of model by id :id. |
|
getByIds ( array $ids, array $columns = ['*'], array $with = [], array $load = [] ) : Illuminate\Database\Eloquent\{Collection, |
Get items of model by ids :ids. |
|
model ( ) |
|
|
update ( array $data, integer $id ) : Domains\BaseModel |
Update item of model. |
|