PHP Class App\Http\Controllers\Backend\UserController

Inheritance: extends BaseController
Afficher le fichier Open project: qloog/laravel5-backend

Protected Properties

Свойство Type Description
$permissions App\Contracts\Repositories\PermissionRepository
$roles App\Contracts\Repositories\RoleRepository
$users App\Contracts\Repositories\UserRepository

Méthodes publiques

Méthode Description
__construct ( App\Contracts\Repositories\UserRepository $users, App\Contracts\Repositories\RoleRepository $roles, App\Contracts\Repositories\PermissionRepository $permissions )
changePassword ( $id, Illuminate\Http\Request $request ) : mixed
create ( ) : Illuminate\View\View Show the form for creating a new resource.
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified resource from storage.
edit ( integer $id ) : Illuminate\View\View Show the form for editing the specified resource.
index ( ) : Illuminate\View\View Display a listing of the resource.
show ( integer $id ) : Illuminate\View\View Display the specified resource.
store ( Illuminate\Http\Request $request ) : mixed Store a newly created resource in storage.
update ( integer $id, Illuminate\Http\Request $request ) : Illuminate\Http\Response Update the specified resource in storage.
updatePassword ( $id, Illuminate\Http\Request $request ) : mixed

Method Details

__construct() public méthode

public __construct ( App\Contracts\Repositories\UserRepository $users, App\Contracts\Repositories\RoleRepository $roles, App\Contracts\Repositories\PermissionRepository $permissions )
$users App\Contracts\Repositories\UserRepository
$roles App\Contracts\Repositories\RoleRepository
$permissions App\Contracts\Repositories\PermissionRepository

changePassword() public méthode

public changePassword ( $id, Illuminate\Http\Request $request ) : mixed
$id
$request Illuminate\Http\Request
Résultat mixed

create() public méthode

Show the form for creating a new resource.
public create ( ) : Illuminate\View\View
Résultat Illuminate\View\View

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\View\View
$id integer
Résultat Illuminate\View\View

index() public méthode

Display a listing of the resource.
public index ( ) : Illuminate\View\View
Résultat Illuminate\View\View

show() public méthode

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

store() public méthode

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

update() public méthode

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

updatePassword() public méthode

public updatePassword ( $id, Illuminate\Http\Request $request ) : mixed
$id
$request Illuminate\Http\Request
Résultat mixed

Property Details

$permissions protected_oe property

protected PermissionRepository,App\Contracts\Repositories $permissions
Résultat App\Contracts\Repositories\PermissionRepository

$roles protected_oe property

protected RoleRepository,App\Contracts\Repositories $roles
Résultat App\Contracts\Repositories\RoleRepository

$users protected_oe property

protected UserRepository,App\Contracts\Repositories $users
Résultat App\Contracts\Repositories\UserRepository