PHP Класс app\http\controllers\UsersManagementController

Наследование: extends Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
__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