You are here

public function ProcessHelper::escapeString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Helper/ProcessHelper.php \Symfony\Component\Console\Helper\ProcessHelper::escapeString()

This method is public for PHP 5.3 compatibility, it should be private.

@internal

1 call to ProcessHelper::escapeString()
ProcessHelper::run in vendor/symfony/console/Helper/ProcessHelper.php
Runs an external process.

File

vendor/symfony/console/Helper/ProcessHelper.php, line 139

Class

ProcessHelper
The ProcessHelper class provides helpers to run external processes.

Namespace

Symfony\Component\Console\Helper

Code

public function escapeString($str) {
  return str_replace('<', '\\<', $str);
}