Pivot::setIncrementing()
  • References/PHP/Laravel/Database/Eloquent/Relations

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

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

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

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

void touch() Touch all of the related models for the relationship.

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

array initRelation(array $models, string $relation) Initialize the relation

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

string getHasCompareKey() Get the key for comparing against the parent

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

Model firstOrNew(array $attributes)

2025-01-10 15:47:30
Pivot::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
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::getForeignKey()
  • References/PHP/Laravel/Database/Eloquent/Relations

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

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

string getQualifiedParentKeyName() Get the fully qualified parent key name

2025-01-10 15:47:30