Use Symfony output methods instead of PHP echo