Service/TaskCommandGenerator.php
private function generateArguments(TaskDescriptionInterface $description)
    {
        $cmdPart = '';
        $arguments = $description->getArguments();
        if (!is_array($arguments)) {
            return $cmdPart;
        }
        foreach ($arguments as $argumentValue) {
            if (is_string($argumentValue) || is_integer($argumentValue)) {
                $cmdPart .= ' ' . escapeshellarg($argumentValue);
            }
        }
        return $cmdPart;
    }
private function generateArguments(TaskDescriptionInterface $description)
    {
        $cmdPart = '';
        $arguments = $description->getArguments();
        if (!is_array($arguments)) {
            return $cmdPart;
        }
        foreach ($arguments as $argumentValue) {
            if (is_string($argumentValue) || is_integer($argumentValue)) {
                $cmdPart .= ' ' . escapeshellarg($argumentValue);
            }
        }
        return $cmdPart;
    }
private function generateArguments ( TaskDescriptionInterface $ description ) { $ cmdPart = '' ; $ arguments = $ description -> getArguments ( ) ; if ( ! is_array ( $ arguments ) ) { return $ cmdPart ; } foreach ( $ arguments as $ argumentValue ) { if ( is_string ( $ argumentValue ) || is_integer ( $ argumentValue ) ) { $ cmdPart .= ' ' . escapeshellarg ( $ argumentValue ) ; } } return $ cmdPart ; }
Generates the argument part of the command

@param TaskDescriptionInterface $description
@return string
Generates the argument part of the command