PHP Class Cartalyst\Sentinel\Roles\IlluminateRoleRepository

Inheritance: implements Cartalyst\Sentinel\Roles\RoleRepositoryInterface, use trait Cartalyst\Support\Traits\RepositoryTrait
Show file Open project: cartalyst/sentinel

Protected Properties

Property Type Description
$model string The Eloquent role model name.

Public Methods

Method Description
__construct ( string $model = null ) : void Create a new Illuminate role repository.
findById ( $id ) {@inheritDoc}
findByName ( $name ) {@inheritDoc}
findBySlug ( $slug ) {@inheritDoc}

Method Details

__construct() public method

Create a new Illuminate role repository.
public __construct ( string $model = null ) : void
$model string
return void

findById() public method

{@inheritDoc}
public findById ( $id )

findByName() public method

{@inheritDoc}
public findByName ( $name )

findBySlug() public method

{@inheritDoc}
public findBySlug ( $slug )

Property Details

$model protected property

The Eloquent role model name.
protected string $model
return string