class Illuminate / Support / ProcessUtils
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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