resolve() public method

public resolve ( Translator $translator ) : string | null
$translator Translator
return string | null
Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function getLocale()
 {
     if ($this->locale === NULL) {
         $this->setLocale($this->localeResolver->resolve($this));
     }
     return $this->locale;
 }