MorphPivot::offsetSet()
  • References/PHP/Laravel/Database/Eloquent/Relations

void offsetSet(mixed $offset, mixed $value) Set the value for a given offset

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

void __unset(string $key) Unset an attribute on the model.

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
Pivot::save()
  • References/PHP/Laravel/Database/Eloquent/Relations

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

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
Pivot::getKeyName()
  • References/PHP/Laravel/Database/Eloquent/Relations

string getKeyName() Get the primary key for the model.

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

string fromDateTime(DateTime|int $value)

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

string getQualifiedKeyName() Get the table qualified key name.

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

BelongsTo belongsTo(string $related

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

$this setPivotKeys(string $foreignKey, string $otherKey) Set the key names

2025-01-10 15:47:30