class
Illuminate
/
Support
/
HigherOrderCollectionProxy
You are viewing an older version of the documentation. For the latest, please visit master documentation.
HigherOrderCollectionProxy
Properties
protected
$method string
The method being proxied.
Default: null
Methods
public
__construct ( Enumerable $collection , $method ) : void
Create a new proxy instance.
Parameters
- $collection Enumerable
- $method string
public
__get ( $key ) : mixed
Proxy accessing an attribute onto the collection items.
Parameters
- $key string
public
__call ( $method , $parameters ) : mixed
Proxy a method call onto the collection items.
Parameters
- $method string
- $parameters array