Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Spot
Relation
RelationAbstract
save
Spot\Relation\RelationAbstract::save PHP Метод
Документация по классу RelationAbstract
Показать файл
Открыть проект
save()
абстрактный
публичный
Метод
Save related entities
abstract
public
save
(
Spot\EntityInterface
$entity
,
string
$relationName
,
array
$options
= [] ) :
boolean
$entity
Spot\EntityInterface
Entity to save relation from
$relationName
string
Name of the relation to save
$options
array
Options to pass to the mappers
Результат
boolean
public abstract function save(EntityInterface $entity, $relationName, $options = []);
RelationAbstract
__call
buildQuery
eagerLoadOnCollection
entityKey
entityName
execute
foreignKey
identityValue
identityValuesFromCollection
localKey
mapper
query
save