Class Illuminate\Database\Eloquent\Relations\HasOne

extends HasOneOrMany
implements SupportsPartialRelations
uses ComparesRelatedModels, CanBeOneOfMany, SupportsDefaultModels
Methods
Methods inherited from Illuminate\Database\Eloquent\Relations\HasOneOrMany
__construct(), make(), makeMany(), addConstraints(), addEagerConstraints(), matchOne(), matchMany(), findOrNew(), firstOrNew(), firstOrCreate(), updateOrCreate(), save(), saveMany(), create(), forceCreate(), createMany(), getRelationExistenceQueryForSelfRelation(), getExistenceCompareKey(), getParentKey(), getQualifiedParentKeyName(), getForeignKeyName(), getQualifiedForeignKeyName(), getLocalKeyName()
Methods inherited from Illuminate\Database\Eloquent\Relations\Relation
noConstraints(), getEager(), sole(), get(), touch(), rawUpdate(), getRelationExistenceCountQuery(), getRelationCountHash(), getQuery(), getBaseQuery(), getParent(), getRelated(), createdAt(), updatedAt(), relatedUpdatedAt(), requireMorphMap(), requiresMorphMap(), enforceMorphMap(), morphMap(), getMorphedModel(), __call(), __clone()
Methods used from Illuminate\Support\Traits\Macroable
macro(), mixin(), hasMacro(), flushMacros(), __callStatic(),
Methods used from Illuminate\Database\Eloquent\Relations\Concerns\ComparesRelatedModels
is(), isNot(), getParentKey()
Methods used from Illuminate\Database\Eloquent\Relations\Concerns\CanBeOneOfMany
ofMany(), latestOfMany(), oldestOfMany(), getOneOfManySubQuery(), qualifySubSelectColumn(), isOneOfMany(), getRelationName()
Methods used from Illuminate\Database\Eloquent\Relations\Concerns\SupportsDefaultModels
withDefault()
Properties inherited from Illuminate\Database\Eloquent\Relations\Relation
$morphMap