api/laravel/Support/ProcessUtils.yaml
2024-09-26 02:03:21 -07:00

50 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: []