PHP Класс Domain\Config\ConfigRepository

Наследование: extends Domain\Repositories\BaseRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

delete() публичный Метод

Destroy item of model by id :id.
public delete ( integer $id ) : integer
$id integer
Результат integer

forceDelete() публичный Метод

Force destroy item of model by id :id.
public forceDelete ( integer $id, $field = 'field' ) : boolean | null
$id integer
Результат boolean | null

get() публичный Метод

Get item of model by id :id.
public get ( integer $id, array $columns = ['*'], array $with = [], array $load = [] ) : Domains\BaseModel
$id integer
$columns array
$with array
$load array
Результат Domains\BaseModel

getByIds() публичный Метод

Get items of model by ids :ids.
public getByIds ( array $ids, array $columns = ['*'], array $with = [], array $load = [] ) : Illuminate\Database\Eloquent\{Collection,
$ids array
$columns array
$with array
$load array
Результат Illuminate\Database\Eloquent\{Collection,

model() публичный Метод

public model ( )

update() публичный Метод

Update item of model.
public update ( array $data, integer $id ) : Domains\BaseModel
$data array
$id integer
Результат Domains\BaseModel