public function saveParents(Table $table, EntityInterface $entity, $associations, array $options = [])
    {
        if (empty($associations)) {
            return true;
        }

        return $this->_saveAssociations($table, $entity, $associations, $options, false);
    }
public function saveParents(Table $table, EntityInterface $entity, $associations, array $options = [])
    {
        if (empty($associations)) {
            return true;
        }

        return $this->_saveAssociations($table, $entity, $associations, $options, false);
    }
public function saveParents ( Table $ table , EntityInterface $ entity , $ associations , array $ options = [ ] ) { if ( empty ( $ associations ) ) { return true ; } return $ this -> _saveAssociations ( $ table , $ entity , $ associations , $ options , false ) ; }
Save all the associations that are parents of the given entity.

Parent associations include any association where the given table
is the owning side.

@param \Cake\ORM\Table $table The table entity is for.
@param \Cake\Datasource\EntityInterface $entity The entity to save associated data for.
@param array $associations The list of associations to save parents from.
associations not in this list will not be saved.
@param array $options The options for the save operation.
@return bool Success
Save all the associations that are parents of the given entity .