public function getTranslation($id, $parameters = [], $locale = null)
    {
        $parameters = array_merge($this->replacementPatterns, $parameters);

        return $this->translator->trans($id, $parameters, null, $locale);
    }
public function getTranslation($id, $parameters = [], $locale = null)
    {
        $parameters = array_merge($this->replacementPatterns, $parameters);

        return $this->translator->trans($id, $parameters, null, $locale);
    }
public function getTranslation ( $ id , $ parameters = [ ] , $ locale = null ) { $ parameters = array_merge ( $ this -> replacementPatterns , $ parameters ) ; return $ this -> translator -> trans ( $ id , $ parameters , null , $ locale ) ; }
Get translated message.

@param string $id
@param array $parameters
@param $locale

@return mixed
Get translated message .