MorphMany::save()
  • References/PHP/Laravel/Database/Eloquent/Relations

Model save(

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

Model create(array $attributes)

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

void addHidden(array|string|null $attributes = null) Add hidden attributes

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

$this setTable(string $table) Set the table associated with the model.

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

Model firstOrCreate(array $attributes, array $joining = array()

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
HasManyThrough
  • References/PHP/Laravel/Database/Eloquent/Relations

HasManyThrough class HasManyThrough extends

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

void addEagerConstraints(array $models) Set the constraints for an eager

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

static mixed noConstraints(Closure $callback)

2025-01-10 15:47:30