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

$this setRawAttributes(array $attributes, bool $sync = false) Set the array

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

static Model create(array $attributes = array())

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

static void updating(Closure|string $callback, int $priority)

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

mixed getRelationValue(string $key) Get a relationship.

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

string joiningTable(string $related) Get the joining table name for a many-to-many

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

bool hasTimestampAttributes() Determine if the pivot model has timestamp

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

bool|null delete() Delete the pivot model record from the database.

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

$this guard(array $guarded) Set the guarded attributes for the model.

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

mixed getQueueableId() Get the queueable identity for the entity.

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

int updateExistingPivot(mixed $id, array $attributes, bool $touch = true)

2025-01-10 15:47:30