PHP Class App\Http\Controllers\UsersManagementController

Inheritance: extends Controller
ファイルを表示 Open project: jeremykenedy/laravel-auth

Public Methods

Method Description
__construct ( App\Logic\User\UserRepository $userRepository ) : void Create a new controller instance.
create ( ) : Illuminate\Http\Response Show the form for creating a new User
create_new_validator ( array $data ) : Illuminate\Contracts\Validation\Validator Get a validator for an incoming create user request.
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified resource from storage.
edit ( integer $id ) : Illuminate\Http\Response Show the form for editing the specified resource.
editUsersMainPanel ( ) : Response Edit the Users Management Main Page to the Admin.
show ( integer $id ) : Illuminate\Http\Response Display the specified resource.
showUsersMainPanel ( ) : Response Show the Users Management Main Page to the Admin.
store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response Store a newly created resource in storage.
update ( Illuminate\Http\Request $request, integer $id ) : Illuminate\Http\Response Update the specified resource in storage.
validator ( array $data ) : Illuminate\Contracts\Validation\Validator Get a validator for an incoming update user request.

Method Details

__construct() public method

Create a new controller instance.
public __construct ( App\Logic\User\UserRepository $userRepository ) : void
$userRepository App\Logic\User\UserRepository
return void

create() public method

Show the form for creating a new User
public create ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

create_new_validator() public method

Get a validator for an incoming create user request.
public create_new_validator ( array $data ) : Illuminate\Contracts\Validation\Validator
$data array
return Illuminate\Contracts\Validation\Validator

destroy() public method

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

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

editUsersMainPanel() public method

Edit the Users Management Main Page to the Admin.
public editUsersMainPanel ( ) : Response
return Response

show() public method

Display the specified resource.
public show ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

showUsersMainPanel() public method

Show the Users Management Main Page to the Admin.
public showUsersMainPanel ( ) : Response
return Response

store() public method

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

update() public method

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

validator() public method

Get a validator for an incoming update user request.
public validator ( array $data ) : Illuminate\Contracts\Validation\Validator
$data array
return Illuminate\Contracts\Validation\Validator