Model::setVisible()

$this setVisible(array $visible) Set the visible attributes for the model. Parameters array $visible Return Value $this

Model::setUpdatedAt()

$this setUpdatedAt(mixed $value) Set the value of the "updated at" attribute. Parameters mixed $value Return Value $this

Model::setTouchedRelations()

$this setTouchedRelations(array $touches) Set the relationships that are touched on save. Parameters array $touches Return Value $this

Model::setTable()

$this setTable(string $table) Set the table associated with the model. Parameters string $table Return Value $this

Model::setRelations()

$this setRelations(array $relations) Set the entire relations array on the model. Parameters array $relations Return Value $this

Model::setRelation()

$this setRelation(string $relation, mixed $value) Set the specific relationship in the model. Parameters string $relation mixed $value Return Value $this

Model::setRawAttributes()

$this setRawAttributes(array $attributes, bool $sync = false) Set the array of model attributes. No checking is done. Parameters array $attributes bool $sync Return Value $this

Model::setPerPage()

$this setPerPage(int $perPage) Set the number of models to return per page. Parameters int $perPage Return Value $this

Model::setObservableEvents()

$this setObservableEvents(array $observables) Set the observable event names. Parameters array $observables Return Value $this

Model::setKeyName()

$this setKeyName(string $key) Set the primary key for the model. Parameters string $key Return Value $this