51 lines
855 B
YAML
51 lines
855 B
YAML
|
name: ProcessUtils
|
||
|
class_comment: '# * ProcessUtils is a bunch of utility methods.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * This class was originally copied from Symfony 3.'
|
||
|
dependencies: []
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: escapeArgument
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: argument
|
||
|
comment: '# * ProcessUtils is a bunch of utility methods.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * This class was originally copied from Symfony 3.
|
||
|
|
||
|
# */
|
||
|
|
||
|
# class ProcessUtils
|
||
|
|
||
|
# {
|
||
|
|
||
|
# /**
|
||
|
|
||
|
# * Escapes a string to be used as a shell argument.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $argument
|
||
|
|
||
|
# * @return string'
|
||
|
- name: isSurroundedBy
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: arg
|
||
|
- name: char
|
||
|
comment: '# * Is the given string surrounded by the given character?
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param string $arg
|
||
|
|
||
|
# * @param string $char
|
||
|
|
||
|
# * @return bool'
|
||
|
traits: []
|
||
|
interfaces: []
|