TestRepositoryFactory
class TestRepositoryFactory implements RepositoryFactory
Methods
getRepository(EntityManagerInterface $entityManager, $entityName) {@inheritdoc} | ||
setRepository(EntityManagerInterface $entityManager, $entityName, ObjectRepository $repository) |
Details
getRepository(EntityManagerInterface $entityManager, $entityName)
{@inheritdoc}
Parameters
EntityManagerInterface | $entityManager | |
$entityName |
setRepository(EntityManagerInterface $entityManager, $entityName, ObjectRepository $repository)
Parameters
EntityManagerInterface | $entityManager | |
$entityName | ||
ObjectRepository | $repository |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bridge/Doctrine/Test/TestRepositoryFactory.html