/** * Adds another model to this MemModel. * Duplicate statements are not removed. * If you don't want duplicates, use unite(). * If any statement of the model to be added to this model contains a blankNode * with an identifier already existing in this model, a new blankNode is generated. * * @param object Model $model * @access public * @throws phpErrpr * */ function addModel(&$model) { if (is_a($model, 'ResModel')) { return $this->model->addModel($model->getModel()); } return $this->model->addModel($model); }