Use $output of symfony instead of echo