Model::setIncrementing()

$this setIncrementing(bool $value) Set whether IDs are incrementing. Parameters bool $value Return Value $this

Model::setHidden()

$this setHidden(array $hidden) Set the hidden attributes for the model. Parameters array $hidden Return Value $this

Model::setEventDispatcher()

static void setEventDispatcher(Dispatcher $dispatcher) Set the event dispatcher instance. Parameters Dispatcher $dispatcher Return Value void

Model::setDateFormat()

$this setDateFormat(string $format) Set the date format used by the model. Parameters string $format Return Value $this

Model::setCreatedAt()

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

Model::setConnectionResolver()

static void setConnectionResolver(ConnectionResolverInterface $resolver) Set the connection resolver instance. Parameters ConnectionResolverInterface $resolver Return Value void

Model::setConnection()

$this setConnection(string $name) Set the connection associated with the model. Parameters string $name Return Value $this

Model::setAttribute()

$this setAttribute(string $key, mixed $value) Set a given attribute on the model. Parameters string $key mixed $value Return Value $this

Model::setAppends()

$this setAppends(array $appends) Set the accessors to append to model arrays. Parameters array $appends Return Value $this

Model::saving()

static void saving(Closure|string $callback, int $priority) Register a saving model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void