Method | Description | |
---|---|---|
buildPhpCommand ( array $settings ) : string | ||
executeCommand ( string $commandIdentifier, array $settings, boolean $outputResults = true, array $commandArguments = [] ) : boolean | Executes the given command as a sub-request to the Flow CLI system. | |
executeCommandAsync ( string $commandIdentifier, array $settings, array $commandArguments = [] ) : void | Executes the given command as a sub-request to the Flow CLI system without waiting for the output. | |
forceFlushCachesIfNecessary ( |
Does some emergency, forced, low level flush caches if the user told to do so through the command line. | |
initializeCacheManagement ( |
Initializes the cache framework | |
initializeClassLoader ( |
Initializes the Class Loader | |
initializeClassLoaderClassesCache ( |
Injects the classes cache to the already initialized class loader | |
initializeConfiguration ( |
Initializes the Configuration Manager, the Flow settings and the Environment service | |
initializeErrorHandling ( |
Initializes the error handling | |
initializeObjectManager ( |
Initializes the runtime Object Manager | |
initializeObjectManagerCompileTimeCreate ( |
Initializes the Compiletime Object Manager (phase 1) | |
initializeObjectManagerCompileTimeFinalize ( |
Initializes the Compiletime Object Manager (phase 2) | |
initializePackageManagement ( |
Initializes the package system and loads the package configuration and settings provided by the packages. | |
initializeProxyClasses ( |
Runs the compile step if necessary | |
initializeReflectionService ( |
Initializes the Reflection Service | |
initializeResources ( |
Initialize the stream wrappers. | |
initializeSession ( |
Initializes the session framework | |
initializeSignalSlot ( |
Initializes the Signal Slot module | |
initializeSystemFileMonitor ( |
Checks if classes (i.e. php files containing classes), Policy.yaml, Objects.yaml or localization files have been altered and if so flushes the related caches. | |
initializeSystemLogger ( |
Initializes the System Logger | |
recompileClasses ( |
Recompile classes after file monitoring was executed and class files have been changed. | |
registerClassLoaderInAnnotationRegistry ( |
Register the class loader into the Doctrine AnnotationRegistry so the DocParser is able to load annation classes from packages. |
Method | Description | |
---|---|---|
buildSubprocessCommand ( string $commandIdentifier, array $settings, array $commandArguments = [] ) : string | ||
compileDoctrineProxies ( |
Update Doctrine 2 proxy classes | |
getListOfPackagesWithConfiguredObjects ( |
||
monitorDirectoryIfItExists ( |
Let the given file monitor track changes of the specified directory if it exists. | |
requireAutoloaderForPhpUnit ( ) : void | Include the PHPUnit autoloader if PHPUnit is installed via PEAR. |
public static buildPhpCommand ( array $settings ) : string | ||
$settings | array | The Neos.Flow settings |
return | string | A command line command for PHP, which can be extended and then exec()uted |
protected static buildSubprocessCommand ( string $commandIdentifier, array $settings, array $commandArguments = [] ) : string | ||
$commandIdentifier | string | E.g. neos.flow:cache:flush |
$settings | array | The Neos.Flow settings |
$commandArguments | array | Command arguments |
return | string | A command line command ready for being exec()uted |
protected static compileDoctrineProxies ( |
||
$bootstrap | ||
return | void |
public static executeCommand ( string $commandIdentifier, array $settings, boolean $outputResults = true, array $commandArguments = [] ) : boolean | ||
$commandIdentifier | string | E.g. neos.flow:cache:flush |
$settings | array | The Neos.Flow settings |
$outputResults | boolean | if FALSE the output of this command is only echoed if the execution was not successful |
$commandArguments | array | Command arguments |
return | boolean | TRUE if the command execution was successful (exit code = 0) |
public static forceFlushCachesIfNecessary ( |
||
$bootstrap | ||
return | void |
protected static getListOfPackagesWithConfiguredObjects ( |
||
$bootstrap | ||
return | array |
public static initializeCacheManagement ( |
||
$bootstrap | ||
return | void |
public static initializeClassLoader ( |
||
$bootstrap | ||
return | void |
public static initializeClassLoaderClassesCache ( |
||
$bootstrap | ||
return | void |
public static initializeConfiguration ( |
||
$bootstrap | ||
return | void |
public static initializeErrorHandling ( |
||
$bootstrap | ||
return | void |
public static initializeObjectManager ( |
||
$bootstrap | ||
return | void |
public static initializeObjectManagerCompileTimeCreate ( |
||
$bootstrap |
public static initializeObjectManagerCompileTimeFinalize ( |
||
$bootstrap | ||
return | void |
public static initializePackageManagement ( |
||
$bootstrap | ||
return | void |
public static initializeProxyClasses ( |
||
$bootstrap | ||
return | void |
public static initializeReflectionService ( |
||
$bootstrap | ||
return | void |
public static initializeResources ( |
||
$bootstrap | ||
return | void |
public static initializeSession ( |
||
$bootstrap | ||
return | void |
public static initializeSignalSlot ( |
||
$bootstrap | ||
return | void |
public static initializeSystemFileMonitor ( |
||
$bootstrap | ||
return | void |
public static initializeSystemLogger ( |
||
$bootstrap | ||
return | void |
protected static monitorDirectoryIfItExists ( |
||
$fileMonitor | ||
$path | string | |
$filenamePattern | string | Optional pattern for filenames to consider for file monitoring (regular expression). @see FileMonitor::monitorDirectory() |
return | void |
public static recompileClasses ( |
||
$bootstrap | ||
return | void |
public static registerClassLoaderInAnnotationRegistry ( |
||
$bootstrap | ||
return | void |
protected static requireAutoloaderForPhpUnit ( ) : void | ||
return | void |