Twig/Extension.php
public function msg(string $message = '', array $vars = [])
    {
        return $this->intuition->msg($message, [
            'domain' => $this->domain,
            'variables' => $vars,
        ]);
    }
public function msg(string $message = '', array $vars = [])
    {
        return $this->intuition->msg($message, [
            'domain' => $this->domain,
            'variables' => $vars,
        ]);
    }
public function msg ( string $ message = '' , array $ vars = [ ] ) { return $ this -> intuition -> msg ( $ message , [ 'domain' => $ this -> domain , 'variables' => $ vars , ] ) ; }
Get an i18n message.
@param string $message
@param string[] $vars
@return mixed|null|string
Get an i18n message .