HasMany::findOrNew()
  • References/PHP/Laravel/Database/Eloquent/Relations

Collection|

2025-01-10 15:47:30
BelongsToMany::detach()
  • References/PHP/Laravel/Database/Eloquent/Relations

int detach(mixed $ids = array(), bool $touch = true) Detach models from

2025-01-10 15:47:30
MorphPivot::fromJson()
  • References/PHP/Laravel/Database/Eloquent/Relations

mixed fromJson(string $value, bool $asObject = false) Decode the given

2025-01-10 15:47:30
HasMany::save()
  • References/PHP/Laravel/Database/Eloquent/Relations

Model save(

2025-01-10 15:47:30
MorphPivot::resolveConnection()
  • References/PHP/Laravel/Database/Eloquent/Relations

static Connection resolveConnection(string|null $connection

2025-01-10 15:47:30
HasMany::getParentKey()
  • References/PHP/Laravel/Database/Eloquent/Relations

mixed getParentKey() Get the key value of the parent's local key.

2025-01-10 15:47:30
MorphOneOrMany::updatedAt()
  • References/PHP/Laravel/Database/Eloquent/Relations

string updatedAt() Get the name of the "updated at" column.

2025-01-10 15:47:30
HasOneOrMany::getForeignKey()
  • References/PHP/Laravel/Database/Eloquent/Relations

string getForeignKey() Get the foreign key for the relationship.

2025-01-10 15:47:30
Pivot::setRelations()
  • References/PHP/Laravel/Database/Eloquent/Relations

$this setRelations(array $relations) Set the entire relations array on

2025-01-10 15:47:30
HasOne::update()
  • References/PHP/Laravel/Database/Eloquent/Relations

int update(array $attributes) Perform an update on all the related models

2025-01-10 15:47:30