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
Isswp101
Persimmon
Relationship
BelongsToRelationship
associate
Isswp101\Persimmon\Relationship\BelongsToRelationship::associate PHP Method
BelongsToRelationship Class Documentation
显示文件
Open project: isswp101/elasticsearch-eloquent
associate()
public
method
Associate parent document.
public
associate
(
ElasticsearchModel
$parent
)
$parent
Isswp101\Persimmon\ElasticsearchModel
public function associate(ElasticsearchModel $parent) { $this->child->setParent($parent); }
BelongsToRelationship
__construct
associate
get
getOrFail