Method |
Description |
|
addDocumentNamespace ( string $alias, string $namespace ) |
Adds a namespace under a certain alias. |
|
getAutoGenerateProxyClasses ( ) : boolean |
Gets a boolean flag that indicates whether proxy classes should always be regenerated
during each script execution. |
|
getDatabasePrefix ( ) : string |
Get prefix for db name |
|
getDatabaseSuffix ( ) : string |
Get suffix for db name |
|
getDefaultDB ( ) : string |
Gets the default DB to use for all Documents that do not specify a database. |
|
getDocumentNamespace ( string $documentNamespaceAlias ) : string |
Resolves a registered namespace alias to the full namespace. |
|
getEnvironment ( ) : string |
Gets the environment |
|
getEnvironmentPrefix ( ) : string |
Gets prefix for environment |
|
getMetadataCacheImpl ( ) : Doctrine\Common\Cache\Cache |
Gets the cache driver implementation that is used for metadata caching. |
|
getMetadataDriverImpl ( ) : Doctrine\ODM\MongoDB\Mapping\Driver\Driver |
Gets the cache driver implementation that is used for the mapping metadata. |
|
getProxyDir ( ) : string |
Gets the directory where Doctrine generates any necessary proxy class files. |
|
getProxyNamespace ( ) : string |
Gets the namespace where proxy classes reside. |
|
newDefaultAnnotationDriver ( array $paths = [] ) : AnnotationDriver |
Add a new default annotation driver with a correctly configured annotation reader. |
|
setAutoGenerateProxyClasses ( boolean $bool ) |
Sets a boolean flag that indicates whether proxy classes should always be regenerated
during each script execution. |
|
setDBPrefix ( string $prefix = null ) |
Set prefix for db name |
|
setDBSuffix ( string $suffix = null ) |
Set suffix for db name |
|
setDefaultDB ( string $defaultDB ) |
Sets the default DB to use for all Documents that do not specify
a database. |
|
setDocumentNamespaces ( array $documentNamespaces ) : void |
Set the document alias map |
|
setEnvironment ( string $environment ) |
Sets the environment |
|
setMetadataCacheImpl ( Doctrine\Common\Cache\Cache $cacheImpl ) |
Sets the cache driver implementation that is used for metadata caching. |
|
setMetadataDriverImpl ( Doctrine\ODM\MongoDB\Mapping\Driver\Driver $driverImpl ) |
Sets the cache driver implementation that is used for metadata caching. |
|
setProxyDir ( string $dir ) |
Sets the directory where Doctrine generates any necessary proxy class files. |
|
setProxyNamespace ( string $ns ) |
Sets the namespace where proxy classes reside. |
|