class HigherOrderCollectionProxy mixin TKey, mixin TValue

Methods

__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.

Details

at line 22
__construct(Enumerable $collection, string $method)

Create a new proxy instance.

Parameters

Enumerable $collection
string $method

at line 31
mixed __get(string $key)

Proxy accessing an attribute onto the collection items.

Parameters

string $key

Return Value

mixed

at line 43
mixed __call(string $method, array $parameters)

Proxy a method call onto the collection items.

Parameters

string $method
array $parameters

Return Value

mixed