HigherOrderBuilderProxy

class HigherOrderBuilderProxy (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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Database/Eloquent/HigherOrderBuilderProxy.html