MenaraSolutions\Geographer\Services\Poliglottas\Base::fromDictionary PHP Метод

fromDictionary() защищенный Метод

protected fromDictionary ( MenaraSolutions\Geographer\Contracts\IdentifiableInterface $subject ) : array
$subject MenaraSolutions\Geographer\Contracts\IdentifiableInterface
Результат array
    protected function fromDictionary(IdentifiableInterface $subject)
    {
        $translations = $this->agency->getRepository()->getTranslations($subject, $this->code);
        return $translations ?: $subject->getMeta();
    }