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

bool hasCast(string $key, array|string|null $types = null) Determine whether

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

array getGlobalScopes() Get the global scopes for this class instance.

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

string getKeyName() Get the primary key for the model.

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

string createdAt() Get the name of the "created at" column.

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

$this setObservableEvents(array $observables) Set the observable event

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

string createdAt() Get the name of the "created at" column.

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

string createdAt() Get the name of the "created at" column.

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

MorphToMany morphToMany(string

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

$this syncOriginal() Sync the original attributes with the current.

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

void removeObservableEvents(array|mixed $observables) Remove an observable

2025-01-10 15:47:30