Executes the given command as a sub-request to the Flow CLI system.
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 |
Результат | boolean | TRUE if the command execution was successful (exit code = 0) |