api/laravel/Support/ProcessUtils.yaml

51 lines
855 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
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: []