Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Illuminate
Database
Eloquent
Relations
BelongsTo
getRelation
Illuminate\Database\Eloquent\Relations\BelongsTo::getRelation PHP Method
BelongsTo Class Documentation
Show file
Open project: illuminate/database
getRelation()
public
method
Get the name of the relationship.
public
getRelation
( ) :
string
return
string
public function getRelation() { return $this->relation; }
BelongsTo
__construct
addConstraints
addEagerConstraints
associate
dissociate
getEagerModelKeys
getForeignKey
getOtherKey
getQualifiedForeignKey
getQualifiedOtherKeyName
getRelation
getRelationCountHash
getRelationQuery
getRelationQueryForSelfRelation
getResults
initRelation
match
update