Method | Description | |
---|---|---|
dbalLoad ( array $config, |
Loads the DBAL configuration. | |
getAlias ( ) : string | Returns the recommended alias to use in XML. | |
getNamespace ( ) : string | Returns the namespace to be used for this extension (XML namespace). | |
getXsdValidationBasePath ( ) : string | Returns the base path for the XSD files. | |
load ( array $configs, |
||
ormLoad ( array $config, |
Loads the Doctrine ORM configuration. |
Method | Description | |
---|---|---|
createOrmProxyDirectory ( $tmpDir ) | Create the Doctrine ORM Entity proxy directory | |
detectMetadataDriver ( string $dir, |
Detects what metadata driver to use for the supplied directory. | |
findBundleSubpaths ( string $path, |
Finds existing bundle subpaths. | |
getConnectionOptions ( $connection ) | ||
getDbalConnections ( array $config, |
Gets the configured DBAL connections. | |
getEntityManagerCacheDefinition ( array $entityManager, array $cacheDriver, |
Gets an entity manager cache driver definition for metadata, query and result caches. | |
getEntityManagerCacheDefinition ( array $entityManager, string $cacheDriver, |
Gets an entity manager cache driver definition for metadata, query and result caches. | |
getMappingObjectDefaultName ( ) | ||
getMappingResourceConfigDirectory ( ) | ||
getMappingResourceExtension ( ) | ||
getObjectManagerElementName ( $name ) | ||
getOrmEntityManagers ( array $config, |
Gets the configured entity managers. | |
loadDbalConnection ( array $connection, |
Loads a configured DBAL connection. | |
loadDbalConnection ( string $name, array $connection, |
Loads a configured DBAL connection. | |
loadDbalConnections ( array $config, |
Loads the configured DBAL connections. | |
loadDbalDefaults ( array $config, |
Loads the DBAL configuration defaults. | |
loadOrmCacheDrivers ( array $entityManager, |
Loads a configured entity managers cache drivers. | |
loadOrmDefaults ( array $config, |
Loads the ORM default configuration. | |
loadOrmEntityManager ( array $entityManager, |
Loads a configured ORM entity manager. | |
loadOrmEntityManagerBundlesMappingInformation ( array $entityManager, |
Loads an ORM entity managers bundle mapping information. | |
loadOrmEntityManagerCacheDriver ( array $entityManager, |
Loads a configured entity managers metadata, query or result cache driver. | |
loadOrmEntityManagerMappingInformation ( array $entityManager, |
Loads an ORM entity managers bundle mapping information. | |
loadOrmEntityManagerMetadataCacheDriver ( array $entityManager, |
Loads a configured entity managers metadata cache driver. | |
loadOrmEntityManagerQueryCacheDriver ( array $entityManager, |
Loads a configured entity managers query cache driver. | |
loadOrmEntityManagerResultCacheDriver ( array $entityManager, |
Loads a configured entity managers result cache driver. | |
loadOrmEntityManagers ( array $config, |
Loads the configured ORM entity managers. |
protected createOrmProxyDirectory ( $tmpDir ) |
protected static detectMetadataDriver ( string $dir, |
||
$dir | string | A directory path |
$container | A ContainerBuilder configuration | |
return | string | null | A metadata driver short name, if one can be detected |
protected findBundleSubpaths ( string $path, |
||
$path | string | A subpath to check for |
$container | A ContainerBuilder configuration | |
return | array | An array of absolute directory paths |
protected getDbalConnections ( array $config, |
||
$config | array | An array of configuration settings |
$container | A ContainerBuilder instance |
protected getEntityManagerCacheDefinition ( array $entityManager, array $cacheDriver, |
||
$entityManager | array | The array configuring an entity manager. |
$cacheDriver | array | The cache driver configuration. |
$container | ||
return | $cacheDef |
protected getEntityManagerCacheDefinition ( array $entityManager, string $cacheDriver, |
||
$entityManager | array | |
$cacheDriver | string | |
$container | ||
return | $cacheDef |
protected getMappingResourceConfigDirectory ( ) |
public getNamespace ( ) : string | ||
return | string | The XML namespace |
protected getOrmEntityManagers ( array $config, |
||
$config | array | An array of configuration settings |
$container | A ContainerBuilder instance |
public getXsdValidationBasePath ( ) : string | ||
return | string | The XSD base path |
protected loadDbalConnection ( array $connection, |
||
$connection | array | A dbal connection configuration. |
$container | A ContainerBuilder instance |
protected loadDbalConnection ( string $name, array $connection, |
||
$name | string | The name of the connection |
$connection | array | A dbal connection configuration. |
$container | A ContainerBuilder instance |
protected loadDbalConnections ( array $config, |
||
$config | array | An array of configuration settings |
$container | A ContainerBuilder instance |
protected loadDbalDefaults ( array $config, |
||
$config | array | An array of configuration settings |
$container | A ContainerBuilder instance |
protected loadOrmCacheDrivers ( array $entityManager, |
||
$entityManager | array | A configured ORM entity manager. |
$container | A ContainerBuilder instance |
protected loadOrmDefaults ( array $config, |
||
$config | array | An array of configuration settings |
$container | A ContainerBuilder instance |
protected loadOrmEntityManager ( array $entityManager, |
||
$entityManager | array | A configured ORM entity manager. |
$container | A ContainerBuilder instance |
protected loadOrmEntityManagerBundlesMappingInformation ( array $entityManager, |
||
$entityManager | array | A configured ORM entity manager. |
$ormConfigDef | ||
$container | A ContainerBuilder instance |
protected loadOrmEntityManagerCacheDriver ( array $entityManager, |
||
$entityManager | array | A configured ORM entity manager. |
$container | A ContainerBuilder instance | |
$cacheName | string |
protected loadOrmEntityManagerMappingInformation ( array $entityManager, |
||
$entityManager | array | A configured ORM entity manager. |
$ormConfigDef | ||
$container | A ContainerBuilder instance |
protected loadOrmEntityManagerMetadataCacheDriver ( array $entityManager, |
||
$entityManager | array | A configured ORM entity manager. |
$container | A ContainerBuilder instance |
protected loadOrmEntityManagerQueryCacheDriver ( array $entityManager, |
||
$entityManager | array | A configured ORM entity manager. |
$container | A ContainerBuilder instance |
protected loadOrmEntityManagerResultCacheDriver ( array $entityManager, |
||
$entityManager | array | A configured ORM entity manager. |
$container | A ContainerBuilder instance |
protected loadOrmEntityManagers ( array $config, |
||
$config | array | An array of configuration settings |
$container | A ContainerBuilder instance |