Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Esensi
Model
Traits
RelatingModelTrait
getRelationships
Esensi\Model\Traits\RelatingModelTrait::getRelationships PHP Method
RelatingModelTrait Trait Documentation
显示文件
Open project: esensi/model
getRelationships()
public
method
Get the relationships.
public
getRelationships
( ) :
array
return
array
public function getRelationships() { return $this->relationships ?: []; }
RelatingModelTrait
__call
__get
belongsTo
callDynamicRelationship
callRelationship
getDynamicRelationship
getPivotAttributes
getRelationship
getRelationships
hasPivotAttributes
isRelationship
morphTo
scopeWithout