class HigherOrderBuilderProxy mixin Builder (View source)

Properties

protected Builder $builder

The collection being operated on.

protected string $method

The method being proxied.

Methods

__construct(Builder $builder, string $method)

Create a new proxy instance.

mixed
__call(string $method, array $parameters)

Proxy a scope call onto the query builder.

Details

__construct(Builder $builder, string $method)

Create a new proxy instance.

Parameters

Builder $builder
string $method

mixed __call(string $method, array $parameters)

Proxy a scope call onto the query builder.

Parameters

string $method
array $parameters

Return Value

mixed