Свойство | Тип | Описание | |
---|---|---|---|
$defaultCacheInstance | Default Cache Instance name. | ||
$defaultConnection | Default DBAL Connection name. | ||
$defaultDocumentManager | Default ODM DocumentManager name. | ||
$defaultEntityManager | Default ORM EntityManager name. |
Метод | Описание | |
---|---|---|
__construct ( array $config = [] ) | Constructor. | |
getCacheInstance ( string $cacheName = null ) : Doctrine\Common\Cache\Cache | Retrieve Cache Instance based on its name. If no argument is provided, it will attempt to get the default Instance. | |
getCacheInstanceNames ( ) : array | Retrieves a list of names for all cache instances configured | |
getConnection ( string $connName = null ) : Doctrine\DBAL\Connection | Retrieve DBAL Connection based on its name. If no argument is provided, it will attempt to get the default Connection. | |
getConnectionNames ( ) : array | Retrieves a list of names for all Connections configured and/or loaded | |
getDocumentManager ( string $dmName = null ) : |
Retrieve ODM DocumentManager based on its name. If no argument provided, it will attempt to get the default DocumentManager. | |
getEntityManager ( string $emName = null ) : |
Retrieve ORM EntityManager based on its name. If no argument provided, it will attempt to get the default EntityManager. | |
getEntityManagerNames ( ) : array | Retrieves a list of names for all Entity Managers configured and/or loaded |
Метод | Описание | |
---|---|---|
prepareCacheInstanceConfiguration ( array $config = [] ) : array | Prepare Cache Instances configurations. | |
prepareDBALConfiguration ( array $config = [] ) : array | Prepare DBAL Connections configurations. | |
prepareODMConfiguration ( array $config = [] ) : array | Prepare ODM EntityManagers configurations. | |
prepareORMConfiguration ( array $config = [] ) : array | Prepare ORM EntityManagers configurations. | |
registerClassLoaders ( array $config = [] ) | Register Doctrine Class Loaders | |
startAnnotationRegistry ( array $config ) | Initialize ORM Metadata Annotation Registry driver | |
startCacheInstance ( array $config = [] ) : Doctrine\Common\Cache\Cache | Initialize Cache Instance. | |
startDBALConfiguration ( array $config = [] ) : Doctrine\DBAL\Configuration | Initialize the DBAL Configuration. | |
startDBALConnection ( array $config = [] ) : Doctrine\DBAL\Connection | Initialize the DBAL Connection. | |
startDBALEventManager ( array $config = [] ) : Doctrine\Common\EventManager | Initialize the EventManager. | |
startODMConfiguration ( array $config = [] ) : |
Initialize ODM Configuration. | |
startODMDocumentManager ( array $config = [] ) : |
Initialize the ODM Document Manager | |
startODMMetadata ( array $config = [] ) : Doctrine\ODM\MongoDB\Mapping\Driver\DriverChain | Initialize ODM Metadata drivers. | |
startORMConfiguration ( array $config = [] ) : Doctrine\ORM\Configuration | Initialize ORM Configuration. | |
startORMEntityManager ( array $config = [] ) : |
Initialize ORM EntityManager. | |
startORMMetadata ( array $config = [] ) : Doctrine\ORM\Mapping\Driver\DriverChain | Initialize ORM Metadata drivers. |
public __construct ( array $config = [] ) | ||
$config | array | Doctrine Container configuration |
public getCacheInstance ( string $cacheName = null ) : Doctrine\Common\Cache\Cache | ||
$cacheName | string | Optional Cache Instance name |
Результат | Doctrine\Common\Cache\Cache | Cache Instance |
public getCacheInstanceNames ( ) : array | ||
Результат | array |
public getConnection ( string $connName = null ) : Doctrine\DBAL\Connection | ||
$connName | string | Optional DBAL Connection name |
Результат | Doctrine\DBAL\Connection | DBAL Connection |
public getConnectionNames ( ) : array | ||
Результат | array |
public getDocumentManager ( string $dmName = null ) : |
||
$dmName | string | Optional ODM DocumentManager name |
Результат |
public getEntityManager ( string $emName = null ) : |
||
$emName | string | Optional ORM EntityManager name |
Результат | ORM EntityManager |
public getEntityManagerNames ( ) : array | ||
Результат | array |
public $defaultDocumentManager |