public function getFunctions() { return array(new \Twig_SimpleFunction('csp_nonce', array($this, 'getCSPNonce'))); }