Symfony\Component\Process\ProcessUtils::escapeArgument
Escapes a string to be used as a shell argument.
Signature
public function escapeArgument(string
$argument )
Parameters
$argument
— string- The argument that will be escaped
Returns
- string
- The escaped argument