platform/api/laravel/Support/Traits/ForwardsCalls.yaml
2024-09-02 10:44:11 -07:00

73 lines
1.3 KiB
YAML

name: ForwardsCalls
class_comment: null
dependencies:
- name: BadMethodCallException
type: class
source: BadMethodCallException
- name: Error
type: class
source: Error
properties: []
methods:
- name: forwardCallTo
visibility: protected
parameters:
- name: object
- name: method
- name: parameters
comment: '# * Forward a method call to the given object.
# *
# * @param mixed $object
# * @param string $method
# * @param array $parameters
# * @return mixed
# *
# * @throws \BadMethodCallException'
- name: forwardDecoratedCallTo
visibility: protected
parameters:
- name: object
- name: method
- name: parameters
comment: '# * Forward a method call to the given object, returning $this if the
forwarded call returned itself.
# *
# * @param mixed $object
# * @param string $method
# * @param array $parameters
# * @return mixed
# *
# * @throws \BadMethodCallException'
- name: throwBadMethodCallException
visibility: protected
parameters:
- name: method
comment: '# * Throw a bad method call exception for the given method.
# *
# * @param string $method
# * @return void
# *
# * @throws \BadMethodCallException'
traits:
- BadMethodCallException
- Error
interfaces: []