class Illuminate / Support / ProcessUtils

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