Neos\Flow\Cli\CommandController::forward PHP Method

forward() protected method

Request is directly transferred to the other command / controller without the need for a new request.
protected forward ( string $commandName, string $controllerObjectName = null, array $arguments = [] ) : void
$commandName string
$controllerObjectName string
$arguments array
return void
    protected function forward($commandName, $controllerObjectName = null, array $arguments = [])
    {
        $this->request->setDispatched(false);
        $this->request->setControllerCommandName($commandName);
        if ($controllerObjectName !== null) {
            $this->request->setControllerObjectName($controllerObjectName);
        }
        $this->request->setArguments($arguments);
        $this->arguments->removeAll();
        throw new StopActionException();
    }