Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Cartalyst
Sentinel
Roles
RoleRepositoryInterface
findById
Cartalyst\Sentinel\Roles\RoleRepositoryInterface::findById PHP Method
RoleRepositoryInterface Interface Documentation
Show file
Open project: cartalyst/sentinel
findById()
public
method
Finds a role by the given primary key.
public
findById
(
integer
$id
) :
Cartalyst\Sentinel\Roles\RoleInterface
$id
integer
return
Cartalyst\Sentinel\Roles\RoleInterface
public function findById($id);
RoleRepositoryInterface
findById
findByName
findBySlug