fixed incorrect replaced method name

Unlike Symfony Controller class, Doctrine\ORM\QueryBuilder
still has getEntityManager method.
Merge pull request #53 from gakhov/master

fixed incorrect replaced method name