Platformsh\Cli\Helper\ShellHelper::resolveCommand PHP Méthode

resolveCommand() public méthode

public resolveCommand ( $command )
    public function resolveCommand($command)
    {
        if ($fullPaths = $this->findWhere($command)) {
            $fullPaths = preg_split('/[\\r\\n]/', trim($fullPaths));
            $command = end($fullPaths);
        }
        return $command;
    }