PHP Class Rappasoft\Vault\Http\Controllers\PermissionController

Inheritance: extends Illuminate\Routing\Controller
Afficher le fichier Open project: rappasoft/vault

Protected Properties

Свойство Type Description
$permissions
$roles

Méthodes publiques

Méthode Description
__construct ( Rappasoft\Vault\Repositories\Role\RoleRepositoryContract $roles, Rappasoft\Vault\Repositories\Permission\PermissionRepositoryContract $permissions )
create ( ) * Create a user
destroy ( $id ) * Delete the specified user
edit ( $id ) * Edit the specified user
index ( ) * Show the list of users
store ( ) * Save a new user
update ( $id ) * Update the specified user

Method Details

__construct() public méthode

public __construct ( Rappasoft\Vault\Repositories\Role\RoleRepositoryContract $roles, Rappasoft\Vault\Repositories\Permission\PermissionRepositoryContract $permissions )
$roles Rappasoft\Vault\Repositories\Role\RoleRepositoryContract
$permissions Rappasoft\Vault\Repositories\Permission\PermissionRepositoryContract

create() public méthode

* Create a user
public create ( )

destroy() public méthode

* Delete the specified user
public destroy ( $id )

edit() public méthode

* Edit the specified user
public edit ( $id )

index() public méthode

* Show the list of users
public index ( )

store() public méthode

* Save a new user
public store ( )

update() public méthode

* Update the specified user
public update ( $id )

Property Details

$permissions protected_oe property

protected $permissions

$roles protected_oe property

protected $roles