/**
  * {@inheritdoc}
  */
 public function createNew()
 {
     $resource = parent::createNew();
     if (!$resource instanceof TranslatableInterface) {
         throw new \InvalidArgumentException('Resource must implement TranslatableInterface.');
     }
     $resource->setCurrentLocale($this->localeProvider->getCurrentLocale());
     $resource->setFallbackLocale($this->localeProvider->getFallbackLocale());
     return $resource;
 }