HigherOrderCollectionProxy
class HigherOrderCollectionProxy (View source)
Properties
protected Collection | $collection | The collection being operated on. | |
protected string | $method | The method being proxied. |
Methods
void | __construct(Collection $collection, string $method) Create a new proxy instance. | |
mixed | __get(string $key) Proxy accessing an attribute onto the collection items. | |
mixed | __call(string $method, array $parameters) Proxy a method call onto the collection items. |
Details
void __construct(Collection $collection, string $method)
Create a new proxy instance.
mixed __get(string $key)
Proxy accessing an attribute onto the collection items.
mixed __call(string $method, array $parameters)
Proxy a method call onto the collection items.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Support/HigherOrderCollectionProxy.html