class Illuminate / Support / ProcessUtils
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

ProcessUtils

ProcessUtils is a bunch of utility methods.
This class was originally copied from Symfony 3.

Methods

public static

escapeArgument ( $argument ) : string

Escapes a string to be used as a shell argument.

Parameters

  • $argument string
protected static

isSurroundedBy ( $arg , $char ) : bool

Is the given string surrounded by the given character?

Parameters

  • $arg string
  • $char string