PHP 클래스 App\Http\Controllers\UsersManagementController

상속: extends Controller
파일 보기 프로젝트 열기: jeremykenedy/laravel-auth

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

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

create() 공개 메소드

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

create_new_validator() 공개 메소드

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

destroy() 공개 메소드

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

edit() 공개 메소드

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

editUsersMainPanel() 공개 메소드

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

show() 공개 메소드

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

showUsersMainPanel() 공개 메소드

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

store() 공개 메소드

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

update() 공개 메소드

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

validator() 공개 메소드

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