HasOneOrMany::__clone()
  • References/PHP/Laravel/Database/Eloquent/Relations

void __clone() Force a clone of the underlying query builder when cloning

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

array getGlobalScopes() Get the global scopes for this class instance.

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

void offsetUnset(mixed $offset) Unset the value for a given offset.

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

$this setMorphType(string $morphType) Set the morph type for the pivot

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

$this syncOriginal() Sync the original attributes with the current.

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

bool hasCast(string $key, array|string|null $types = null) Determine whether

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

$this setConnection(string $name) Set the connection associated with the

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

bool touches(string $relation) Determine if the model touches a given relation

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

bool totallyGuarded() Determine if the model is totally guarded.

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

array getDirty() Get the attributes that have been changed since last sync

2025-01-10 15:47:30