public removeTranslation ( object $document, string $locale ) | ||
$document | object | |
$locale | string |
/** * {@inheritDoc} */ public function removeTranslation($document, $locale) { if (!is_object($document)) { throw new InvalidArgumentException('Parameter $document needs to be an object, ' . gettype($document) . ' given'); } $this->errorIfClosed(); $this->unitOfWork->removeTranslation($document, $locale); }