PHP Class Devise\Users\Permissions\PermissionsResponseHandler

Show file Open project: devisephp/cms

Protected Properties

Property Type Description
$PermissionsManager

Public Methods

Method Description
__construct ( PermissionsManager $PermissionsManager, Framework $Framework )
executeDestroy ( string $condition ) : Redirect Executes destroy permission method in PermissionsManager and properly handles the response.
executeStore ( array $input ) : Redirect Executes store permission method in PermissionsManager and properly handles the response.
executeUpdate ( array $input ) : Redirect Executes update permission method in PermissionsManager and handles the response accordingly.

Method Details

__construct() public method

public __construct ( PermissionsManager $PermissionsManager, Framework $Framework )
$PermissionsManager PermissionsManager
$Framework Devise\Support\Framework

executeDestroy() public method

Executes destroy permission method in PermissionsManager and properly handles the response.
public executeDestroy ( string $condition ) : Redirect
$condition string
return Redirect

executeStore() public method

Executes store permission method in PermissionsManager and properly handles the response.
public executeStore ( array $input ) : Redirect
$input array
return Redirect

executeUpdate() public method

Executes update permission method in PermissionsManager and handles the response accordingly.
public executeUpdate ( array $input ) : Redirect
$input array
return Redirect

Property Details

$PermissionsManager protected property

protected $PermissionsManager