ornicar/GravatarBundle — pull request #22 by lemoinem (2013-08-30 15:59:43+00:00)
Title: Remove dependecie on Request to make the Service available offline (via console Commands)

Hello,

Today I tried to use the Service while in an Console Command and was surprised to get an error because the service was trying to access the request in the container.

Here is the fix, inspired from http://symfony.com/doc/current/cookbook/console/sending_emails.html

Regards,
Mathieu.