Spot\Relation\RelationAbstract::save PHP Метод

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 = []);