array getDirty() Get the attributes that have been changed since last sync
mixed sum(callable|string|null $callback = null) Get the sum of the given
bool isGuarded(string $key) Determine if the given key is guarded.
static int destroy(array|int $ids) Destroy the models for the
bool saveOrFail(array $options = array()) Save the model to the database
bool save(array $options = array()) Save the model to the database.
$this put(mixed $key, mixed $value) Put an item in the collection by key
mixed pull(mixed $key, mixed $default = null) Get and remove an item from
Collection mapWithKeys(callable $callback)
mixed getKey() Get the value of the model's primary key.
Page 32 of 39