class DoctrineTestHelper

Provides utility functions needed in tests.

Methods

static EntityManager
createTestEntityManager(Configuration $config = null)

Returns an entity manager for testing.

static Configuration
createTestConfiguration()

No description

Details

static EntityManager createTestEntityManager(Configuration $config = null)

Returns an entity manager for testing.

Parameters

Configuration $config

Return Value

EntityManager

static Configuration createTestConfiguration()

Return Value

Configuration