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

bool usesTimestamps() Determine if the model uses timestamps.

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

string joiningTable(string $related) Get the joining table name for a many-to-many

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

$this makeHidden(array|string $attributes) Make the given, typically visible

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

bool relationLoaded(string $key) Determine if the given relation is loaded

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

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

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

MorphMany morphMany(string $related

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

bool __isset(string $key) Determine if an attribute or relation exists

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

MorphTo morphTo(string $name = null

2025-01-10 15:47:30