Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Owl
Repositories
Eloquent
UserRepository
getById
Owl\Repositories\Eloquent\UserRepository::getById PHP Method
UserRepository Class Documentation
Datei anzeigen
Open project: owl/owl
getById()
public
method
Get a user by user id.
public
getById
(
integer
$id
) :
Illuminate\Database\Eloquent\Model
$id
integer
return
Illuminate\Database\Eloquent\Model
public function getById($id) { return $this->user->where('id', $id)->first(); }
UserRepository
__construct
create
getAll
getByEmail
getById
getByUsername
getLikeUsername
getOwners
getUsersToArray
updateUser