public function addSessionFlashBagMessage($type, $message, $translationDomain = 'messages')
    {
        if (false !== $translationDomain) {
            $message = $this->get('translator')->trans($message, [], $translationDomain);
        }

        $this->get('session')->getFlashBag()->add($type, $message);

        return $this;
    }