get('io_tcpdf') ->quick_pdf( $this->renderView( 'GergelyPolonkaiFrontBundle:Default:resume.html.twig', array( 'format' => $_format ) ) ); } else { return array( 'format' => $_format, ); } } }