class Illuminate / Database / Eloquent / HigherOrderBuilderProxy
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

HigherOrderBuilderProxy

Properties

protected

$builder Builder

The collection being operated on.

Default: null
protected

$method string

The method being proxied.

Default: null

Methods

public

__construct ( Builder $builder , $method ) : void

Create a new proxy instance.

Parameters

public

__call ( $method , $parameters ) : mixed

Proxy a scope call onto the query builder.

Parameters

  • $method string
  • $parameters array