src/Flash.php
private function getTranslation($message, array $placeholders)
    {
        if ($this->translator->has($message)) {
            $message = $this->translator->get($message, $placeholders);
        }

        return $message;
    }
private function getTranslation($message, array $placeholders)
    {
        if ($this->translator->has($message)) {
            $message = $this->translator->get($message, $placeholders);
        }

        return $message;
    }
private function getTranslation ( $ message , array $ placeholders ) { if ( $ this -> translator -> has ( $ message ) ) { $ message = $ this -> translator -> get ( $ message , $ placeholders ) ; } return $ message ; }
Get a translation for the message key
or return the original message.

@param string $message
@param array $placeholders

@return string
Get a translation for the message key or return the original message .