HigherOrderCollectionProxy
class HigherOrderCollectionProxy mixin TKey, mixin TValue (View source)
Properties
| protected TValue> | $collection | The collection being operated on. |
|
| protected string | $method | The method being proxied. |
Methods
void
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(Enumerable $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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.