public function flashMessages($environment, array $options = array())
    {
        $params = array_merge(array(
            'close_button' => true, 'trans_domain' => null,
        ), $options);

        $template = $environment->loadTemplate('ASFLayoutBundle:session:flash-messages.html.twig');

        return $template->renderBlock('flash_messages', array_merge($environment->getGlobals(), $params));
    }