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

bool offsetExists(mixed $offset) Determine if the given attribute exists

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

static Collection hydrateRaw(string $query

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

$this setRelation(string $relation, mixed $value) Set the specific relationship

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

$this fill(array $attributes) Fill the model with an array of attributes

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

string getRouteKeyName() Get the route key for the model.

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

bool getIncrementing() Get the value indicating whether the IDs are incrementing

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

mixed __get(string $key) Dynamically retrieve attributes on the model.

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

array getRelations() Get all the loaded relations for the instance.

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

void __wakeup() When a model is being unserialized, check if it needs to

2025-01-10 15:47:30