Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Jedrzej
Pimpable
PimpableTrait
PHP Trait Jedrzej\Pimpable\PimpableTrait
Inheritance:
use trait
Jedrzej\Searchable\SearchableTrait
,
use trait
Jedrzej\Sortable\SortableTrait
,
use trait
Jedrzej\Withable\WithableTrait
Datei anzeigen
Open project: jedrzej/pimpable
Public Methods
Method
Description
scopePimp
(
Builder
$builder
,
array
$query
= [],
$sort
= [],
$relations
= [] )
Enable searchable, sortable and withable scopes
Protected Methods
Method
Description
getSearchableAttributes
( )
getSortableAttributes
( )
getWithableRelations
( )
Method Details
getSearchableAttributes()
protected
method
protected
getSearchableAttributes
( )
getSortableAttributes()
protected
method
protected
getSortableAttributes
( )
getWithableRelations()
protected
method
protected
getWithableRelations
( )
scopePimp()
public
method
Enable searchable, sortable and withable scopes
public
scopePimp
(
Builder
$builder
,
array
$query
= [],
$sort
= [],
$relations
= [] )
$builder
Illuminate\Database\Eloquent\Builder
query builder
$query
array