src/Graviton/CoreBundle/Controller/FaviconController.php
public function iconAction()
    {
        header('Content-Type: image/x-icon');
        // open our file
        $fp = fopen(__DIR__.'/../Resources/assets/favicon.ico', 'r');
        fpassthru($fp);
        fclose($fp);
        exit;
    }
public function iconAction()
    {
        header('Content-Type: image/x-icon');
        // open our file
        $fp = fopen(__DIR__.'/../Resources/assets/favicon.ico', 'r');
        fpassthru($fp);
        fclose($fp);
        exit;
    }
public function iconAction ( ) { header ( 'Content-Type: image/x-icon' ) ; // open our file $ fp = fopen ( __DIR__ . '/../Resources/assets/favicon.ico' , 'r' ) ; fpassthru ( $ fp ) ; fclose ( $ fp ) ; exit ; }
renders a favicon

@return \Symfony\Component\HttpFoundation\Response $response Response with result or error
renders a favicon