trait InteractsWithTableQuery (View source)

Properties

protected Closure|null $modifyQueryUsing
protected Closure|null $modifyBaseQueryUsing

Methods

Builder
apply(Builder $query, array $data = [])

No description

Builder
applyToBaseQuery(Builder $query, array $data = [])

No description

query(Closure|null $callback)

No description

baseQuery(Closure|null $callback)

No description

modifyQueryUsing(Closure|null $callback)

No description

modifyBaseQueryUsing(Closure|null $callback)

No description

bool
hasQueryModificationCallback()

No description

bool

Details

Builder apply(Builder $query, array $data = [])

No description

Parameters

Builder $query
array $data

Return Value

Builder

Builder applyToBaseQuery(Builder $query, array $data = [])

No description

Parameters

Builder $query
array $data

Return Value

Builder

InteractsWithTableQuery query(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

InteractsWithTableQuery

InteractsWithTableQuery baseQuery(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

InteractsWithTableQuery

InteractsWithTableQuery modifyQueryUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

InteractsWithTableQuery

InteractsWithTableQuery modifyBaseQueryUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

InteractsWithTableQuery

protected bool hasQueryModificationCallback()

No description

Return Value

bool

protected bool hasBaseQueryModificationCallback()

No description

Return Value

bool