removeTranslation() публичный Метод

public removeTranslation ( object $document, string $locale )
$document object
$locale string
Пример #1
0
 /**
  * {@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);
 }