class DoctrineTestHelper
Provides utility functions needed in tests.
static EntityManager | createTestEntityManager(Configuration $config = null) Returns an entity manager for testing. | |
static Configuration | createTestConfiguration() |
Returns an entity manager for testing.
Configuration | $config |
EntityManager |
Configuration |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.html