trait RestrictsToNewestLabels

Methods

Builder
restrictToNewestLabelQuery(Builder $query, string $table)

Callback to be used in a when query statement that restricts the results to the newest annotation labels of each annotation.

Details

at line 18
Builder restrictToNewestLabelQuery(Builder $query, string $table)

Callback to be used in a when query statement that restricts the results to the newest annotation labels of each annotation.

Parameters

Builder $query
string $table

Name of the annotation label DB table

Return Value

Builder