public getPrivilegeForTarget ( string $privilegeTargetIdentifier, array $privilegeParameters = [] ) : Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface | ||
$privilegeTargetIdentifier | string | |
$privilegeParameters | array | |
return | Neos\Flow\Security\Authorization\Privilege\PrivilegeInterface | the matching privilege or NULL if no privilege exists for the given constraints |