protected function fromDictionary(IdentifiableInterface $subject) { $translations = $this->agency->getRepository()->getTranslations($subject, $this->code); return $translations ?: $subject->getMeta(); }