Generating PDF file in Phalcon framework

I am using phalcon framework, and i need to generate pdf file. I was thinking to use mpdf library, i serached online and i didn't find how to use mpdf in phalcon for generating pdf files. Please, I need some example of how can i do this , in easiest way. I worked with mpdf in codeigniter, and here is my function example:

True, mPDF live in the global namespace... but it has it's own loader in include("../mpdf.php");, so there's no need to do anything special in Phalcon. Just include that file and define any globals according to the mPDF docs. There shouldn't be any collisions.