PHP Класс Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilege

Наследование: extends Neos\Flow\Security\Authorization\Privilege\AbstractPrivilege, implements Neos\Flow\Security\Authorization\Privilege\Method\MethodPrivilegeInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$methodPermissions array
$pointcutFilter Neos\Flow\Aop\Pointcut\PointcutFilter
$runtimeExpressionEvaluator Neos\Flow\Aop\Pointcut\RuntimeExpressionEvaluator

Открытые методы

Метод Описание
getPointcutFilterComposite ( ) : PointcutFilterComposite Returns the pointcut filter composite, matching all methods covered by this privilege
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void This object is created very early so we can't rely on AOP for the property injection This method also takes care of initializing caches and other dependencies.
matchesMethod ( string $className, string $methodName ) : boolean Returns TRUE, if this privilege covers the given method
matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean Returns TRUE, if this privilege covers the given subject (join point)

Защищенные методы

Метод Описание
initialize ( ) : void

Описание методов

getPointcutFilterComposite() публичный Метод

Returns the pointcut filter composite, matching all methods covered by this privilege
public getPointcutFilterComposite ( ) : PointcutFilterComposite
Результат Neos\Flow\Aop\Pointcut\PointcutFilterComposite

initialize() защищенный Метод

protected initialize ( ) : void
Результат void

injectObjectManager() публичный Метод

This object is created very early so we can't rely on AOP for the property injection This method also takes care of initializing caches and other dependencies.
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
Результат void

matchesMethod() публичный Метод

Returns TRUE, if this privilege covers the given method
public matchesMethod ( string $className, string $methodName ) : boolean
$className string
$methodName string
Результат boolean

matchesSubject() публичный Метод

Returns TRUE, if this privilege covers the given subject (join point)
public matchesSubject ( Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface $subject ) : boolean
$subject Neos\Flow\Security\Authorization\Privilege\PrivilegeSubjectInterface
Результат boolean

Описание свойств

$methodPermissions защищенное статическое свойство

protected static array $methodPermissions
Результат array

$pointcutFilter защищенное свойство

protected PointcutFilter,Neos\Flow\Aop\Pointcut $pointcutFilter
Результат Neos\Flow\Aop\Pointcut\PointcutFilter

$runtimeExpressionEvaluator защищенное свойство

protected RuntimeExpressionEvaluator,Neos\Flow\Aop\Pointcut $runtimeExpressionEvaluator
Результат Neos\Flow\Aop\Pointcut\RuntimeExpressionEvaluator