Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
REBELinBLUE
Deployer
Repositories
EloquentRepository
getById
REBELinBLUE\Deployer\Repositories\EloquentRepository::getById PHP Method
EloquentRepository Class Documentation
ファイルを表示
Open project: rebelinblue/deployer
getById()
public
method
Get's an item from the repository.
public
getById
(
integer
$model_id
) :
Model
$model_id
integer
return
Illuminate\Database\Eloquent\Model
public function getById($model_id) { return $this->model->findOrFail($model_id); }
EloquentRepository
create
deleteById
getAll
getById
updateById