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

BelongsTo belongsTo(string $related

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

static void setEventDispatcher(Dispatcher

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

static void unguard(bool $state = true) Disable all mass assignable

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

void addVisible(array|string|null $attributes = null) Add visible attributes

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

int getPerPage() Get the number of models to return per page.

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

mixed getResults() Get the results of the relationship.

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

Builder|

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

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

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

$this setConnection(string $name) Set the connection associated with the

2025-01-10 15:47:30