프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |