Метод | Описание | |
---|---|---|
create ( array $fields ) : |
||
deleteById ( integer $model_id ) : boolean | ||
getAll ( ) : Illuminate\Database\Eloquent\Collection | ||
updateById ( array $fields, integer $model_id ) : |
public deleteById ( integer $model_id ) : boolean | ||
$model_id | integer | |
Результат | boolean |
public getAll ( ) : Illuminate\Database\Eloquent\Collection | ||
Результат | Illuminate\Database\Eloquent\Collection |
public updateById ( array $fields, integer $model_id ) : |
||
$fields | array | |
$model_id | integer | |
Результат |