Permalink
Browse files

Change depency to ObjectManager

  • Loading branch information...
1 parent c5733de commit cef7b81a122b71799f732979b47a6ad187913bb0 @MrHash MrHash committed Apr 30, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Doctrine/Search/Configuration.php
@@ -25,7 +25,7 @@
use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver;
use Doctrine\Search\SerializerInterface;
use Doctrine\Search\Serializer\CallbackSerializer;
-use Doctrine\ORM\EntityManager;
+use Doctrine\Common\Persistence\ObjectManager;
/**
* Configuration SearchManager
@@ -161,15 +161,15 @@ public function getEntitySerializer()
}
/**
- * @param EntityManager $entityManager
+ * @param ObjectManager $entityManager
*/
- public function setEntityManager(EntityManager $entityManager)
+ public function setEntityManager(ObjectManager $entityManager)
{
$this->attributes['entityManager'] = $serializer;
}
/**
- * @return EntityManager
+ * @return ObjectManager
*/
public function getEntityManager()
{

0 comments on commit cef7b81

Please sign in to comment.