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

bool isGuarded(string $key) Determine if the given key is guarded.

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

HasManyThrough hasManyThrough(string

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

static Collection hydrate(array $items

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

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

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

static Connection resolveConnection(string|null $connection

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

array getDates() Get the attributes that should be converted to dates.

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

mixed getAttributeValue(string $key) Get a plain attribute (not a relationship)

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

string getForeignKey() Get the foreign key column name.

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

array getMutatedAttributes() Get the mutated attributes for a given instance

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

void __construct(Model $parent, array $attributes, string

2025-01-10 15:47:30