PHP 클래스 Neos\Flow\Mvc\Dispatcher

파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$settings array

공개 메소드들

메소드 설명
dispatch ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response ) : void Dispatches a request to a controller
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void Inject the Object Manager through setter injection because property injection is not available during compile time.
injectSettings ( array $settings ) : void Injects the Flow settings

보호된 메소드들

메소드 설명
emitAfterControllerInvocation ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response, Neos\Flow\Mvc\Controller\ControllerInterface $controller ) : void This signal is emitted directly after the request has been dispatched to a controller and the controller returned control back to the dispatcher.
emitBeforeControllerInvocation ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response, Neos\Flow\Mvc\Controller\ControllerInterface $controller ) : void This signal is emitted directly before the request is been dispatched to a controller.
initiateDispatchLoop ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response ) Try processing the request until it is successfully marked "dispatched"
resolveController ( Neos\Flow\Mvc\RequestInterface $request ) : Neos\Flow\Mvc\Controller\ControllerInterface Finds and instantiates a controller that matches the current request.

메소드 상세

dispatch() 공개 메소드

Dispatches a request to a controller
public dispatch ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response ) : void
$request Neos\Flow\Mvc\RequestInterface The request to dispatch
$response Neos\Flow\Mvc\ResponseInterface The response, to be modified by the controller
리턴 void

emitAfterControllerInvocation() 보호된 메소드

This signal is emitted directly after the request has been dispatched to a controller and the controller returned control back to the dispatcher.
protected emitAfterControllerInvocation ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response, Neos\Flow\Mvc\Controller\ControllerInterface $controller ) : void
$request Neos\Flow\Mvc\RequestInterface
$response Neos\Flow\Mvc\ResponseInterface
$controller Neos\Flow\Mvc\Controller\ControllerInterface
리턴 void

emitBeforeControllerInvocation() 보호된 메소드

This signal is emitted directly before the request is been dispatched to a controller.
protected emitBeforeControllerInvocation ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response, Neos\Flow\Mvc\Controller\ControllerInterface $controller ) : void
$request Neos\Flow\Mvc\RequestInterface
$response Neos\Flow\Mvc\ResponseInterface
$controller Neos\Flow\Mvc\Controller\ControllerInterface
리턴 void

initiateDispatchLoop() 보호된 메소드

Try processing the request until it is successfully marked "dispatched"
protected initiateDispatchLoop ( Neos\Flow\Mvc\RequestInterface $request, Neos\Flow\Mvc\ResponseInterface $response )
$request Neos\Flow\Mvc\RequestInterface
$response Neos\Flow\Mvc\ResponseInterface

injectObjectManager() 공개 메소드

Inject the Object Manager through setter injection because property injection is not available during compile time.
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
리턴 void

injectSettings() 공개 메소드

Injects the Flow settings
public injectSettings ( array $settings ) : void
$settings array The Flow settings
리턴 void

resolveController() 보호된 메소드

If no controller can be found, an instance of NotFoundControllerInterface is returned.
protected resolveController ( Neos\Flow\Mvc\RequestInterface $request ) : Neos\Flow\Mvc\Controller\ControllerInterface
$request Neos\Flow\Mvc\RequestInterface The request to dispatch
리턴 Neos\Flow\Mvc\Controller\ControllerInterface

프로퍼티 상세

$objectManager 보호되어 있는 프로퍼티

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
리턴 Neos\Flow\ObjectManagement\ObjectManagerInterface

$settings 보호되어 있는 프로퍼티

protected array $settings
리턴 array