src/PackageManager.php
public function prepareCommand(array $arguments = [])
    {
        $result = '';
        foreach ($arguments as $a) {
            $result .= ' ' . escapeshellarg($a);
        }

        return $result;
    }
public function prepareCommand(array $arguments = [])
    {
        $result = '';
        foreach ($arguments as $a) {
            $result .= ' ' . escapeshellarg($a);
        }

        return $result;
    }
public function prepareCommand ( array $ arguments = [ ] ) { $ result = '' ; foreach ( $ arguments as $ a ) { $ result .= ' ' . escapeshellarg ( $ a ) ; } return $ result ; }
Prepares given command arguments.
@param array $arguments
@return string
Prepares given command arguments .