HasOne::getParent()
  • References/PHP/Laravel/Database/Eloquent/Relations

Model getParent()

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

MorphTo morphTo(string $name = null

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

$this setAttribute(string $key, mixed $value) Set a given attribute on

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

Builder getRelationCountQuery(

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

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

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

string getHasCompareKey() Get the key for comparing against the parent

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

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

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

bool|int update(array $attributes = array()) Update the model in the database

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

string relatedUpdatedAt() Get the name of the related model's "updated

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

bool hasSetMutator(string $key) Determine if a set mutator exists for an

2025-01-10 15:47:30