A Flow Application context is something like "Production", "Development",
"Production/StagingSystem", and is set using the FLOW_CONTEXT environment variable.
A context can contain arbitrary sub-contexts, which are delimited with slash
("Production/StagingSystem", "Production/Staging/Server1"). The top-level
contexts, however, must be one of "Testing", "Development" and "Production".
Mainly, you will use $context->isProduction(), $context->isTesting() and
$context->isDevelopment() inside your custom code.
$contextString защищенное свойство
The (internal) context string; could be something like "Development" or "Development/MyLocalMacBook"
protected string $contextString |
Результат |
string |
|
$parentContext защищенное свойство
The parent context, or NULL if there is no parent context
protected ApplicationContext,Neos\Flow\Core $parentContext |
Результат |
ApplicationContext |
|
$rootContextString защищенное свойство
The root context; must be one of "Development", "Testing" or "Production"
protected string $rootContextString |
Результат |
string |
|