PHP Class REBELinBLUE\Deployer\Http\Controllers\Admin\UserController

Inheritance: extends REBELinBLUE\Deployer\Http\Controllers\Resources\ResourceController
Exibir arquivo Open project: rebelinblue/deployer

Public Methods

Method Description
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\UserRepositoryInterface $repository ) UserController constructor.
index ( ) : Illuminate\View\View Display a listing of the users.
store ( StoreUserRequest $request ) : Model Store a newly created user in storage.
update ( integer $user_id, StoreUserRequest $request ) : Model Update the specified user in storage.

Method Details

__construct() public method

UserController constructor.
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\UserRepositoryInterface $repository )
$repository REBELinBLUE\Deployer\Contracts\Repositories\UserRepositoryInterface

index() public method

Display a listing of the users.
public index ( ) : Illuminate\View\View
return Illuminate\View\View

store() public method

Store a newly created user in storage.
public store ( StoreUserRequest $request ) : Model
$request REBELinBLUE\Deployer\Http\Requests\StoreUserRequest
return Illuminate\Database\Eloquent\Model

update() public method

Update the specified user in storage.
public update ( integer $user_id, StoreUserRequest $request ) : Model
$user_id integer
$request REBELinBLUE\Deployer\Http\Requests\StoreUserRequest
return Illuminate\Database\Eloquent\Model