symfony / 3.0 / symfony / bridge / doctrine / test / doctrinetesthelper.html

DoctrineTestHelper

class DoctrineTestHelper

Provides utility functions needed in tests.

Methods

static EntityManager createTestEntityManager()

Returns an entity manager for testing.

Details

static EntityManager createTestEntityManager()

Returns an entity manager for testing.

Return Value

EntityManager

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bridge/Doctrine/Test/DoctrineTestHelper.html