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
LMongo
Eloquent
Relations
Relation
initRelation
LMongo\Eloquent\Relations\Relation::initRelation PHP Method
Relation Class Documentation
显示文件
Open project: navruzm/lmongo
initRelation()
abstract
public
method
Initialize the relation on a set of models.
abstract
public
initRelation
(
array
$models
,
string
$relation
) :
void
$models
array
$relation
string
return
void
public abstract function initRelation(array $models, $relation);
Relation
__call
__construct
addConstraints
addEagerConstraints
createdAt
getAndResetWheres
getBaseQuery
getKeys
getParent
getQuery
getRelated
getResults
initRelation
match
rawUpdate
relatedUpdatedAt
removeFirstWhereClause
removeSecondWhereClause
restore
touch
updatedAt