MorphToMany::getMorphClass()
  • References/PHP/Laravel/Database/Eloquent/Relations

string getMorphClass() Get the class name of the parent model.

2025-01-10 15:47:30
Collection::toBase()
  • References/PHP/Laravel/Database/Eloquent

Collection toBase()

2025-01-10 15:47:30
Model::hasCast()
  • References/PHP/Laravel/Database/Eloquent

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

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

void touch() Touch all of the related models for the relationship.

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

static mixed noConstraints(Closure $callback)

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

static void clearBootedModels() Clear the list of booted models

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

array getVisible() Get the visible attributes for the model.

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

array jsonSerialize() Convert the object into something JSON serializable

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

bool saveOrFail(array $options = array()) Save the model to the database

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

void __clone() Force a clone of the underlying query builder when cloning

2025-01-10 15:47:30