Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ProcessExecutor.php

function ProcessExecutor::escape

Escapes a string to be used as a shell argument.

Parameters

string|false|null $argument The argument that will be escaped:

Return value

string The escaped argument

14 calls to ProcessExecutor::escape()
BinaryInstaller::generateUnixyProxyCode in vendor/composer/composer/src/Composer/Installer/BinaryInstaller.php
BinaryInstaller::generateWindowsProxyCode in vendor/composer/composer/src/Composer/Installer/BinaryInstaller.php
EventDispatcher::doDispatch in vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php
Triggers the listeners of an event.
EventDispatcher::getPhpExecCommand in vendor/composer/composer/src/Composer/EventDispatcher/EventDispatcher.php
Perforce::cleanupClientSpec in vendor/composer/composer/src/Composer/Util/Perforce.php

... See full list

File

vendor/composer/composer/src/Composer/Util/ProcessExecutor.php, line 465

Class

ProcessExecutor
@author Robert Schönthal <seroscho@googlemail.com> @author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Util

Code

public static function escape($argument) : string {
    return self::escapeArgument($argument);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal