PHP 트레잇 Jedrzej\Pimpable\PimpableTrait

상속: use trait Jedrzej\Searchable\SearchableTrait, use trait Jedrzej\Sortable\SortableTrait, use trait Jedrzej\Withable\WithableTrait
파일 보기 프로젝트 열기: jedrzej/pimpable

공개 메소드들

메소드 설명
scopePimp ( Builder $builder, array $query = [], $sort = [], $relations = [] ) Enable searchable, sortable and withable scopes

보호된 메소드들

메소드 설명
getSearchableAttributes ( )
getSortableAttributes ( )
getWithableRelations ( )

메소드 상세

getSearchableAttributes() 보호된 메소드

protected getSearchableAttributes ( )

getSortableAttributes() 보호된 메소드

protected getSortableAttributes ( )

getWithableRelations() 보호된 메소드

protected getWithableRelations ( )

scopePimp() 공개 메소드

Enable searchable, sortable and withable scopes
public scopePimp ( Builder $builder, array $query = [], $sort = [], $relations = [] )
$builder Illuminate\Database\Eloquent\Builder query builder
$query array