PHP Class App\Http\Controllers\UsersManagementController

Inheritance: extends Controller
Afficher le fichier Open project: jeremykenedy/laravel-auth

Méthodes publiques

Méthode 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 méthode

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

create() public méthode

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

create_new_validator() public méthode

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

destroy() public méthode

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

edit() public méthode

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

editUsersMainPanel() public méthode

Edit the Users Management Main Page to the Admin.
public editUsersMainPanel ( ) : Response
Résultat Response

show() public méthode

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

showUsersMainPanel() public méthode

Show the Users Management Main Page to the Admin.
public showUsersMainPanel ( ) : Response
Résultat Response

store() public méthode

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

update() public méthode

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

validator() public méthode

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