1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-04-14 04:22:24 +02:00

Merge pull request from mgiustiniani/master

change EntityManagerInterface to ObjectManager
This commit is contained in:
Francois Zaninotto 2013-10-10 06:40:29 -07:00
commit 2355fcf8d1

@ -2,7 +2,7 @@
namespace Faker\ORM\Doctrine;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\ORM\Mapping\ClassMetadata;
use Faker\ORM\Doctrine\ColumnTypeGuesser;
@ -128,7 +128,7 @@ class EntityPopulator
/**
* Insert one new record using the Entity class.
*/
public function execute(EntityManagerInterface $manager, $insertedEntities, $generateId = false)
public function execute(ObjectManager $manager, $insertedEntities, $generateId = false)
{
$obj = $this->class->newInstance();