Wordpress style shortcodes for Symfony2