Add generator interface and fix test Symfony 2.3
Merge pull request #3 from donce96/master

Add generator interface and fix test Symfony 2.3
Merge pull request #1 from evispa/master

Use Manager instead of EntityManager.