PHP Class Sulu\Component\Security\Authorization\MaskConverter

Also offered as a service by this bundle.
Inheritance: implements Sulu\Component\Security\Authorization\MaskConverterInterface
Show file Open project: sulu/sulu

Protected Properties

Property Type Description
$permissions array The permissions available, defined by config.

Public Methods

Method Description
__construct ( $permissions )
convertPermissionsToArray ( $permissions )
convertPermissionsToNumber ( $permissionsData )

Method Details

__construct() public method

public __construct ( $permissions )

convertPermissionsToArray() public method

public convertPermissionsToArray ( $permissions )

convertPermissionsToNumber() public method

public convertPermissionsToNumber ( $permissionsData )

Property Details

$permissions protected property

The permissions available, defined by config.
protected array $permissions
return array