src/TranslatorAwareTrait.php
public function setTranslator(\Symfony\Component\Translation\Translator $translator)
    {
        $this->translator = $translator;
        return $this->translator;
    }
public function setTranslator(\Symfony\Component\Translation\Translator $translator)
    {
        $this->translator = $translator;
        return $this->translator;
    }
public function setTranslator ( \ Symfony \ Component \ Translation \ Translator $ translator ) { $ this -> translator = $ translator ; return $ this -> translator ; }
Set translator instance
@param \Symfony\Component\Translation\Translator $translator
@return \Symfony\Component\Translation\Translator
Set translator instance