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
findBySlug
Cartalyst\Sentinel\Roles\RoleRepositoryInterface::findBySlug PHP Method
RoleRepositoryInterface Interface Documentation
Show file
Open project: cartalyst/sentinel
findBySlug()
public
method
Finds a role by the given slug.
public
findBySlug
(
string
$slug
) :
Cartalyst\Sentinel\Roles\RoleInterface
$slug
string
return
Cartalyst\Sentinel\Roles\RoleInterface
public function findBySlug($slug);
RoleRepositoryInterface
findById
findByName
findBySlug