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

string getMorphClass() Get the class name for polymorphic relations.

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
Model::addGlobalScope()
  • References/PHP/Laravel/Database/Eloquent

static mixed addGlobalScope(Scope|

2025-01-10 15:47:30
Model::append()
  • References/PHP/Laravel/Database/Eloquent

$this append(array|string $attributes) Append attributes to query when

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

$this setUpdatedAt(mixed $value) Set the value of the "updated at" attribute

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

bool hasTimestampAttributes() Determine if the pivot model has timestamp

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

$this load(array|string $relations) Eager load relations on the model.

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

$this setDateFormat(string $format) Set the date format used by the model

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

bool touch() Update the model's update timestamp.

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

static Builder on(string|null $connection =

2025-01-10 15:47:30