\MiotApi\Util\CollectionHigherOrderCollectionProxy

Summary

Methods
Properties
Constants
__construct()
__get()
__call()
No public properties found
No constants found
No protected methods found
$collection
$method
N/A
No private methods found
No private properties found
N/A

Properties

$method

$method : string

The method being proxied.

Type

string

Methods

__construct()

__construct(\MiotApi\Util\Collection\Collection  $collection, string  $method) : void

Create a new proxy instance.

Parameters

\MiotApi\Util\Collection\Collection $collection
string $method

__get()

__get(string  $key) : mixed

Proxy accessing an attribute onto the collection items.

Parameters

string $key

Returns

mixed

__call()

__call(string  $method, array  $parameters) : mixed

Proxy a method call onto the collection items.

Parameters

string $method
array $parameters

Returns

mixed