class HigherOrderBuilderProxy mixin Builder (View source)

Properties

protected Builder $builder

The collection being operated on.

protected string $method

The method being proxied.

Methods

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

void __construct(Builder $builder, string $method)

Create a new proxy instance.

Parameters

Builder $builder
string $method

Return Value

void

mixed __call(string $method, array $parameters)

Proxy a scope call onto the query builder.

Parameters

string $method
array $parameters

Return Value

mixed