Document generation functionality for Symfony2 application.