Method |
Description |
|
__construct ( Illuminate\Container\Container $app, Collection $collection ) |
|
|
all ( array $columns = ['*'] ) : mixed |
|
|
applyCriteria ( ) |
|
|
create ( array $data ) : mixed |
|
|
delete ( $id ) : mixed |
|
|
find ( $id, array $columns = ['*'] ) : mixed |
|
|
findAllBy ( $attribute, $value, array $columns = ['*'] ) : mixed |
|
|
findBy ( $attribute, $value, array $columns = ['*'] ) : mixed |
|
|
findWhere ( array $where, array $columns = ['*'], boolean $or = false ) : Illuminate\Database\Eloquent\Collection | null |
Find a collection of models by the given query conditions. |
|
getByCriteria ( Criteria $criteria ) |
|
|
getCriteria ( ) : mixed |
|
|
lists ( string $value, string $key = null ) : array |
|
|
makeModel ( ) : Builder |
|
|
model ( ) : mixed |
Specify Model class name |
|
paginate ( integer $perPage = 25, array $columns = ['*'] ) : mixed |
|
|
pushCriteria ( Criteria $criteria ) |
|
|
resetScope ( ) |
|
|
saveModel ( array $data ) : boolean |
save a model without massive assignment |
|
setModel ( $eloquentModel ) : Model |
Set Eloquent Model to instantiate |
|
skipCriteria ( boolean $status = true ) |
|
|
update ( array $data, $id, string $attribute = "id" ) : mixed |
|
|
updateRich ( array $data, $id ) : mixed |
|
|
with ( array $relations ) |
|
|