Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Nextras
Orm
Mapper
IRelationshipMapperManyHasMany
PHP Interface Nextras\Orm\Mapper\IRelationshipMapperManyHasMany
Inheritance:
extends
Nextras\Orm\Mapper\IRelationshipMapper
Mostrar archivo
Open project: nextras/orm
Public Methods
Method
Description
add
(
Nextras\Orm\Entity\IEntity
$parent
,
array
$add
)
Adds entity relationshios with passed ids.
remove
(
Nextras\Orm\Entity\IEntity
$parent
,
array
$remove
)
Removes entity relationships with passed ids.
Method Details
add()
public
method
Adds entity relationshios with passed ids.
public
add
(
Nextras\Orm\Entity\IEntity
$parent
,
array
$add
)
$parent
Nextras\Orm\Entity\IEntity
$add
array
array of ids to be connected
remove()
public
method
Removes entity relationships with passed ids.
public
remove
(
Nextras\Orm\Entity\IEntity
$parent
,
array
$remove
)
$parent
Nextras\Orm\Entity\IEntity
$remove
array
array of connected ids to be removed