$model
$model : \Laravel\Database\Eloquent\Model
The model instance being queried.
$model : \Laravel\Database\Eloquent\Model
The model instance being queried.
$table : \Laravel\Database\Eloquent\Query
The fluent query builder for the query instance.
$base : \Laravel\Database\Eloquent\Model
The base model for the relationship.
insert(\Laravel\Database\Eloquent\Model|array $attributes) : \Laravel\Database\Eloquent\Model|false
Insert a new record for the association.
If save is successful, the model will be returned, otherwise false.
LaravelDatabaseEloquentModel|array | $attributes |
__construct(\Laravel\Database\Eloquent\Model $model) : void
Creat a new query instance for a model.
LaravelDatabaseEloquentModel | $model |
with(array $includes) : \Laravel\Database\Eloquent\Relationships\Relationship
The relationships that should be eagerly loaded by the query.
array | $includes |
hydrate(\Laravel\Database\Eloquent\Model $model, array $results) : array
Hydrate an array of models from the given results.
LaravelDatabaseEloquentModel | $model | |
array | $results |
fresh_model(array $attributes = array()) : \Laravel\Database\Eloquent\Model
Get a freshly instantiated instance of the related model class.
array | $attributes |
table() : \Laravel\Database\Eloquent\Query
Get a fluent query builder for the model.
Documentation created by phpDocumentor