MorphPivot::setCreatedAt()

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

MorphPivot::setConnectionResolver()

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

MorphPivot::setConnection()

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

MorphPivot::setAttribute()

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

MorphPivot::setAppends()

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

MorphPivot::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

MorphPivot::saveOrFail()

bool saveOrFail(array $options = array()) Save the model to the database using transaction. Parameters array $options Return Value bool Exceptions Throwable

MorphPivot::saved()

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

MorphPivot::save()

bool save(array $options = array()) Save the model to the database. Parameters array $options Return Value bool

MorphPivot::resolveConnection()

static Connection resolveConnection(string|null $connection = null) Resolve a connection instance. Parameters string|null $connection Return Value Connection