class InterceptorResolver (View source)

The security interceptor resolver. It resolves the class name of a security interceptor based on names.

Properties

protected ObjectManagerInterface $objectManager

Methods

__construct(ObjectManagerInterface $objectManager)

Constructor.

string
resolveInterceptorClass(string $name)

Resolves the class name of a security interceptor. If a valid interceptor class name is given, it is just returned.

Details

__construct(ObjectManagerInterface $objectManager)

Constructor.

Parameters

ObjectManagerInterface $objectManager

The object manager

string resolveInterceptorClass(string $name)

Resolves the class name of a security interceptor. If a valid interceptor class name is given, it is just returned.

Parameters

string $name

The (short) name of the interceptor

Return Value

string

The class name of the security interceptor, NULL if no class was found.

Exceptions

NoInterceptorFoundException