PHP Interface Sentinel\Repositories\Group\SentinelGroupRepositoryInterface

Afficher le fichier Open project: rydurham/sentinel

Méthodes publiques

Méthode Description
all ( ) : Illuminate\Database\Eloquent\Collection Return all the registered users
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified resource from storage.
retrieveById ( integer $id ) : User Return a specific user by a given id
retrieveByName ( string $name ) : User Return a specific user by a given name
store ( $data ) : Illuminate\Http\Response Store a newly created resource in storage.
update ( integer $id ) : Illuminate\Http\Response Update the specified resource in storage.

Method Details

all() public méthode

Return all the registered users
public all ( ) : Illuminate\Database\Eloquent\Collection
Résultat Illuminate\Database\Eloquent\Collection

destroy() public méthode

Remove the specified resource from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
Résultat Illuminate\Http\Response

retrieveById() public méthode

Return a specific user by a given id
public retrieveById ( integer $id ) : User
$id integer
Résultat Sentinel\Models\User

retrieveByName() public méthode

Return a specific user by a given name
public retrieveByName ( string $name ) : User
$name string
Résultat Sentinel\Models\User

store() public méthode

Store a newly created resource in storage.
public store ( $data ) : Illuminate\Http\Response
Résultat Illuminate\Http\Response

update() public méthode

Update the specified resource in storage.
public update ( integer $id ) : Illuminate\Http\Response
$id integer
Résultat Illuminate\Http\Response