protected function prepareProcessArguments(array $arguments)
    {
        $reflection = new \ReflectionClass(ProcessUtils::class);

        if (!$reflection->hasMethod('escapeArgument')) {
            return $arguments;
        }

        return \implode(' ', \array_map([ProcessUtils::class, 'escapeArgument'], $arguments));
    }
protected function prepareProcessArguments(array $arguments)
    {
        $reflection = new \ReflectionClass(ProcessUtils::class);

        if (!$reflection->hasMethod('escapeArgument')) {
            return $arguments;
        }

        return \implode(' ', \array_map([ProcessUtils::class, 'escapeArgument'], $arguments));
    }
protected function prepareProcessArguments ( array $ arguments ) { $ reflection = new \ ReflectionClass ( ProcessUtils :: class ) ; if ( ! $ reflection -> hasMethod ( 'escapeArgument' ) ) { return $ arguments ; } return \ implode ( ' ' , \ array_map ( [ ProcessUtils :: class , 'escapeArgument' ] , $ arguments ) ) ; }
Prepare the command line arguments for the symfony process.

@param array $arguments The command line arguments for the symfony process.

@return array|string

@throws \ReflectionException Thrown if the class does not exist.
Prepare the command line arguments for the symfony process .