PHP Interface Sentinel\Repositories\Group\SentinelGroupRepositoryInterface

Show file Open project: rydurham/sentinel

Public Methods

Method 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 method

Return all the registered users
public all ( ) : Illuminate\Database\Eloquent\Collection
return Illuminate\Database\Eloquent\Collection

destroy() public method

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

retrieveById() public method

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

retrieveByName() public method

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

store() public method

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

update() public method

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