Groupon clone in Symfony 2 framework with Doctrine 2 ORM.