BelongsToMany::getForeignKey()
  • References/PHP/Laravel/Database/Eloquent/Relations

string getForeignKey() Get the fully qualified foreign key for the relation

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

string getOtherKey() Get the fully qualified "other key" for the relation

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

array getTouchedRelations() Get the relationships that are touched on save

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

$this setVisible(array $visible) Set the visible attributes for the model

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

$this setCreatedAt(mixed $value) Set the value of the "created at" attribute

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

$this setIncrementing(bool $value) Set whether IDs are incrementing.

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

static void unsetEventDispatcher() Unset the event dispatcher

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

string getMorphType() Get the foreign key "type" name.

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

abstract array initRelation(array $models, string $relation)

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

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

2025-01-10 15:47:30