api/laravel/Collections/HigherOrderCollectionProxy.yaml
2024-09-26 02:03:21 -07:00

67 lines
1.6 KiB
YAML

name: HigherOrderCollectionProxy
class_comment: '# * @mixin \Illuminate\Support\Enumerable'
dependencies: []
properties:
- name: collection
visibility: protected
comment: '# * @mixin \Illuminate\Support\Enumerable
# */
# class HigherOrderCollectionProxy
# {
# /**
# * The collection being operated on.
# *
# * @var \Illuminate\Support\Enumerable'
- name: method
visibility: protected
comment: '# * The method being proxied.
# *
# * @var string'
methods:
- name: __construct
visibility: public
parameters:
- name: collection
- name: method
comment: "# * @mixin \\Illuminate\\Support\\Enumerable\n# */\n# class HigherOrderCollectionProxy\n\
# {\n# /**\n# * The collection being operated on.\n# *\n# * @var \\Illuminate\\\
Support\\Enumerable\n# */\n# protected $collection;\n# \n# /**\n# * The method\
\ being proxied.\n# *\n# * @var string\n# */\n# protected $method;\n# \n# /**\n\
# * Create a new proxy instance.\n# *\n# * @param \\Illuminate\\Support\\Enumerable\
\ $collection\n# * @param string $method\n# * @return void"
- name: __get
visibility: public
parameters:
- name: key
comment: '# * Proxy accessing an attribute onto the collection items.
# *
# * @param string $key
# * @return mixed'
- name: __call
visibility: public
parameters:
- name: method
- name: parameters
comment: '# * Proxy a method call onto the collection items.
# *
# * @param string $method
# * @param array $parameters
# * @return mixed'
traits: []
interfaces: []