PHP Class Rappasoft\Vault\Http\Controllers\RoleController

Inheritance: extends Illuminate\Routing\Controller
显示文件 Open project: rappasoft/vault

Protected Properties

Property Type Description
$permissions
$roles

Public Methods

Method 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 method

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 method

* Create a user
public create ( )

destroy() public method

* Delete the specified user
public destroy ( $id )

edit() public method

* Edit the specified user
public edit ( $id )

index() public method

* Show the list of users
public index ( )

store() public method

* Save a new user
public store ( )

update() public method

* Update the specified user
public update ( $id )

Property Details

$permissions protected_oe property

protected $permissions

$roles protected_oe property

protected $roles