Controller/AlertController.php
public function displayAlertsAction($isAddStyles = true, $isAddJsAlertClose = true)
    {
        return $this->render(
            'RasFlashAlertBundle::layout.html.twig',
            array(
                'alertPublisher'        =>  $this->getAlertPublisher(),
                'isAddStyles'           =>  $isAddStyles,
                'isAddJsAlertClose'     =>  $isAddJsAlertClose
            )
        );
    }
public function displayAlertsAction($isAddStyles = true, $isAddJsAlertClose = true)
    {
        return $this->render(
            'RasFlashAlertBundle::layout.html.twig',
            array(
                'alertPublisher'        =>  $this->getAlertPublisher(),
                'isAddStyles'           =>  $isAddStyles,
                'isAddJsAlertClose'     =>  $isAddJsAlertClose
            )
        );
    }
@deprecated

@param bool $isAddStyles
@param bool $isAddJsAlertClose
@return \Symfony\Component\HttpFoundation\Response