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
getPivotAttributes
Esensi\Model\Traits\RelatingModelTrait::getPivotAttributes PHP Method
RelatingModelTrait Trait Documentation
显示文件
Open project: esensi/model
getPivotAttributes()
public
method
Return the relationship configurations.
public
getPivotAttributes
(
string
$name
) :
array
$name
string
of related model
return
array
public function getPivotAttributes($name) { return $this->relationshipPivots[$name] ?: []; }
RelatingModelTrait
__call
__get
belongsTo
callDynamicRelationship
callRelationship
getDynamicRelationship
getPivotAttributes
getRelationship
getRelationships
hasPivotAttributes
isRelationship
morphTo
scopeWithout