PHP 클래스 Neos\Flow\Session\Aspect\LazyLoadingAspect

파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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