Свойство | Тип | Описание | |
---|---|---|---|
$staticObjectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | The same instance like $objectManager, but static, for use in the proxy classes. |
Свойство | Тип | Описание | |
---|---|---|---|
$activeRequestHandler | Neos\Flow\Core\RequestHandlerInterface | ||
$compiletimeCommands | array | ||
$context | |||
$earlyInstances | array | ||
$preselectedRequestHandlerClassName | string | ||
$requestHandlers | array |
Метод | Описание | |
---|---|---|
__construct ( string $context ) | Constructor | |
buildCompiletimeSequence ( ) : |
Builds a boot sequence starting all modules necessary for the compiletime state. | |
buildEssentialsSequence ( string $identifier ) : |
Builds a boot sequence with the minimum modules necessary for both, compiletime and runtime. | |
buildRuntimeSequence ( ) : |
Builds a boot sequence starting all modules necessary for the runtime state. | |
getActiveRequestHandler ( ) : Neos\Flow\Core\RequestHandlerInterface | Returns the request handler (if any) which is currently handling the request. | |
getContext ( ) : |
Returns the context this bootstrap was started in. | |
getEarlyInstance ( string $objectName ) : object | Returns an instance which was registered earlier through setEarlyInstance() | |
getEarlyInstances ( ) : array | Returns all registered early instances indexed by object name | |
getEnvironmentConfigurationSetting ( string $variableName ) : string | Tries to find an environment setting with the following fallback chain: | |
getObjectManager ( ) : Neos\Flow\ObjectManagement\ObjectManagerInterface | Returns the object manager instance | |
getSignalSlotDispatcher ( ) : |
Returns the signal slot dispatcher instance | |
initializePersistenceManager ( ) : Neos\Flow\Persistence\PersistenceManagerInterface | ||
isCompiletimeCommand ( string $commandIdentifier ) : boolean | Tells if the given command controller is registered for compiletime or not. | |
registerCompiletimeCommand ( string $commandIdentifier ) : void | Registers a command specified by the given identifier to be called during compiletime (versus runtime). The related command controller must be totally aware of the limited functionality Flow provides at compiletime. | |
registerRequestHandler ( Neos\Flow\Core\RequestHandlerInterface $requestHandler ) : void | Registers a request handler which can possibly handle a request. | |
run ( ) : void | Bootstraps the minimal infrastructure, resolves a fitting request handler and then passes control over to that request handler. | |
setActiveRequestHandler ( Neos\Flow\Core\RequestHandlerInterface $requestHandler ) : void | Explicitly sets the active request handler. | |
setEarlyInstance ( string $objectName, object $instance ) : void | Registers the instance of the specified object for an early boot stage. | |
setPreselectedRequestHandlerClassName ( string $className ) | Preselects a specific request handler. If such a request handler exists, it will be used if it can handle the request – regardless of the priority of this or other request handlers. | |
shutdown ( string $runlevel ) : void | Initiates the shutdown procedure to safely close all connections, save modified data and commit other tasks necessary to cleanly exit Flow. |
Метод | Описание | |
---|---|---|
defineConstants ( ) : void | Defines various path constants used by Flow and if no root path or web root was specified by an environment variable, exits with a respective error message. | |
emitBootstrapShuttingDown ( string $runLevel ) : void | Emits a signal that the bootstrap finished and is shutting down. | |
emitFinishedCompiletimeRun ( ) : void | Emits a signal that the compile run was finished. | |
emitFinishedRuntimeRun ( ) : void | Emits a signal that the runtime run was finished. | |
ensureRequiredEnvironment ( ) : void | Checks PHP version and other parameters of the environment | |
resolveRequestHandler ( ) : Neos\Flow\Core\RequestHandlerInterface | Iterates over the registered request handlers and determines which one fits best. |
public __construct ( string $context ) | ||
$context | string | The application context, for example "Production" or "Development" |
public buildCompiletimeSequence ( ) : |
||
Результат |
public buildEssentialsSequence ( string $identifier ) : |
||
$identifier | string | |
Результат |
public buildRuntimeSequence ( ) : |
||
Результат |
protected defineConstants ( ) : void | ||
Результат | void |
protected emitBootstrapShuttingDown ( string $runLevel ) : void | ||
$runLevel | string | |
Результат | void |
protected emitFinishedCompiletimeRun ( ) : void | ||
Результат | void |
protected emitFinishedRuntimeRun ( ) : void | ||
Результат | void |
protected ensureRequiredEnvironment ( ) : void | ||
Результат | void |
public getActiveRequestHandler ( ) : Neos\Flow\Core\RequestHandlerInterface | ||
Результат | Neos\Flow\Core\RequestHandlerInterface |
public getContext ( ) : |
||
Результат | The context encapsulated in an object, for example "Development" or "Development/MyDeployment" |
public getEarlyInstance ( string $objectName ) : object | ||
$objectName | string | Object name of the registered instance |
Результат | object |
public getEarlyInstances ( ) : array | ||
Результат | array |
public static getEnvironmentConfigurationSetting ( string $variableName ) : string | ||
$variableName | string | |
Результат | string | or NULL if this variable was not set at all. |
public getObjectManager ( ) : Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
Результат | Neos\Flow\ObjectManagement\ObjectManagerInterface |
public getSignalSlotDispatcher ( ) : |
||
Результат |
public initializePersistenceManager ( ) : Neos\Flow\Persistence\PersistenceManagerInterface | ||
Результат | Neos\Flow\Persistence\PersistenceManagerInterface |
public isCompiletimeCommand ( string $commandIdentifier ) : boolean | ||
$commandIdentifier | string | Package key, controller name and command name separated by colon, e.g. "neos.flow:cache:flush" |
Результат | boolean |
public registerCompiletimeCommand ( string $commandIdentifier ) : void | ||
$commandIdentifier | string | Package key, controller name and command name separated by colon, e.g. "neos.flow:core:shell", wildcard for command name possible: "neos.flow:core:*" |
Результат | void |
public registerRequestHandler ( Neos\Flow\Core\RequestHandlerInterface $requestHandler ) : void | ||
$requestHandler | Neos\Flow\Core\RequestHandlerInterface | |
Результат | void |
protected resolveRequestHandler ( ) : Neos\Flow\Core\RequestHandlerInterface | ||
Результат | Neos\Flow\Core\RequestHandlerInterface | A request handler |
public setActiveRequestHandler ( Neos\Flow\Core\RequestHandlerInterface $requestHandler ) : void | ||
$requestHandler | Neos\Flow\Core\RequestHandlerInterface | |
Результат | void |
public setPreselectedRequestHandlerClassName ( string $className ) | ||
$className | string |
protected RequestHandlerInterface,Neos\Flow\Core $activeRequestHandler | ||
Результат | Neos\Flow\Core\RequestHandlerInterface |
protected ApplicationContext,Neos\Flow\Core $context | ||
Результат |
protected string $preselectedRequestHandlerClassName | ||
Результат | string |