/** * {@inheritdoc} */ public function merge($identifier, $object) { if (!$identifier) { return $this->referencedDataProvider->create($object); } $replace = ($method = $this->getRequest()->getMethod()) ? $method == RequestInterface::METHOD_PUT : FALSE; return $this->referencedDataProvider->update($identifier, $object, $replace); }
/** * {@inheritdoc} */ public function create($object) { return $this->decorated->create($object); }
/** * {@inheritdoc} */ public function create($object) { return $this->subject->create($object); }