public function showPrivacyCookieBanner(
        Twig_Environment $twigEnvironment,
        $policyPageUrl = null,
        array $options = array()
    ) {
        $options['policyPageUrl'] = $policyPageUrl;

        return $twigEnvironment->render(
            'EzSystemsPrivacyCookieBundle::privacycookie.html.twig',
            $this->bannerOptions->map($options, $this->banner)
        );
    }
public function showPrivacyCookieBanner(
        Twig_Environment $twigEnvironment,
        $policyPageUrl = null,
        array $options = array()
    ) {
        $options['policyPageUrl'] = $policyPageUrl;

        return $twigEnvironment->render(
            'EzSystemsPrivacyCookieBundle::privacycookie.html.twig',
            $this->bannerOptions->map($options, $this->banner)
        );
    }
public function showPrivacyCookieBanner ( Twig_Environment $ twigEnvironment , $ policyPageUrl = null , array $ options = array ( ) ) { $ options [ 'policyPageUrl' ] = $ policyPageUrl ; return $ twigEnvironment -> render ( 'EzSystemsPrivacyCookieBundle::privacycookie.html.twig' , $ this -> bannerOptions -> map ( $ options , $ this -> banner ) ) ; }
Renders cookie privacy banner snippet code.
This helper should be included at the end of template before the body ending tag.

@param \Twig_Environment $twigEnvironment
@param string $policyPageUrl cookie policy page address (not required, no policy link will be shown)
@param array $options override default options

@return string
Renders cookie privacy banner snippet code . This helper should be included at the end of template before the body ending tag .