getRepository() 공개 메소드

public getRepository ( ) : MenaraSolutions\Geographer\Contracts\RepositoryInterface
리턴 MenaraSolutions\Geographer\Contracts\RepositoryInterface $repository
예제 #1
0
 /**
  * @param IdentifiableInterface $subject
  * @return array
  */
 protected function fromDictionary(IdentifiableInterface $subject)
 {
     $translations = $this->agency->getRepository()->getTranslations($subject, $this->code);
     return $translations ?: $subject->getMeta();
 }