$attributes
$attributes : array
All of the model's attributes.
$hidden : array
The attributes that should be excluded from to_array.
fill(array $attributes, boolean $raw = false) : \Laravel\Database\Eloquent\Model
Hydrate the model with an array of attributes.
array | $attributes | |
boolean | $raw |
fill_raw(array $attributes) : \Laravel\Database\Eloquent\Model
Fill the model with the contents of the array.
No mutators or accessibility checks will be accounted for.
array | $attributes |
create(array $attributes) : \Laravel\Database\Eloquent\Model|false
Create a new model and store it in the database.
If save is successful, the model will be returned, otherwise false.
array | $attributes |
_with(array $includes) : \Laravel\Database\Eloquent\Model
The relationships that should be eagerly loaded by the query.
array | $includes |
has_many_and_belongs_to(string $model, string $table = null, string $foreign = null, string $other = null) : \Laravel\Database\Eloquent\Relationships\Has_Many_And_Belongs_To
Get the query for a many-to-many relationship.
string | $model | |
string | $table | |
string | $foreign | |
string | $other |
set_attribute(string $key, mixed $value) : \Laravel\Database\Eloquent\Model
Set an attribute's value on the model.
string | $key | |
mixed | $value |
_query() : \Laravel\Database\Eloquent\Query
Get a new fluent query builder instance for the model.
Documentation created by phpDocumentor