mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-20 23:39:51 +01:00
* change EntityManagerInterface to ObjectManager according with doctrine 2.3
This commit is contained in:
parent
7a56e44699
commit
d8db634c57
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user