PHP Класс Neos\Flow\Session\Aspect\LazyLoadingAspect

Показать файл Открыть проект

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

Свойство Тип Описание
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$session Neos\Flow\Session\SessionInterface
$sessionOriginalInstances array
$systemLogger Neos\Flow\Log\SystemLoggerInterface

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

Метод Описание
callMethodOnOriginalSessionObject ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : mixed Around advice, wrapping every method of a scope session object. It redirects all method calls to the session object once there is one.
initializeSession ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void Before advice for all methods annotated with "@Flow\Session(autoStart=true)".
registerSessionInstance ( string $objectName, object $object ) : void Registers an object of scope session.

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

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

Around advice, wrapping every method of a scope session object. It redirects all method calls to the session object once there is one.
public callMethodOnOriginalSessionObject ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : mixed
$joinPoint Neos\Flow\Aop\JoinPointInterface The current join point
Результат mixed

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

Those methods will trigger a session initialization if a session does not exist yet.
public initializeSession ( Neos\Flow\Aop\JoinPointInterface $joinPoint ) : void
$joinPoint Neos\Flow\Aop\JoinPointInterface The current join point
Результат void

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

Registers an object of scope session.
См. также: Neos\Flow\ObjectManagement\ObjectManager
public registerSessionInstance ( string $objectName, object $object ) : void
$objectName string
$object object
Результат void

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

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

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
Результат Neos\Flow\ObjectManagement\ObjectManagerInterface

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

protected SessionInterface,Neos\Flow\Session $session
Результат Neos\Flow\Session\SessionInterface

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

protected array $sessionOriginalInstances
Результат array

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

protected SystemLoggerInterface,Neos\Flow\Log $systemLogger
Результат Neos\Flow\Log\SystemLoggerInterface