Platformsh\Cli\Application::setCurrentCommand PHP Метод

setCurrentCommand() публичный Метод

Set the current command. This is used for error handling.
public setCurrentCommand ( Command $command = null )
$command Symfony\Component\Console\Command\Command
    public function setCurrentCommand(ConsoleCommand $command = null)
    {
        // The parent class has a similar (private) property named
        // $runningCommand.
        $this->currentCommand = $command;
    }