Consolidation\Cgr\CommandToExec::getCommandString PHP Method

getCommandString() public method

Generate a single command string.
public getCommandString ( )
    public function getCommandString()
    {
        $escapedArgs = array_map(function ($item) {
            return escapeshellarg($item);
        }, $this->arguments);
        return $this->execPath . ' ' . implode(' ', $escapedArgs);
    }