PHP Class Doctrine\ODM\CouchDB\Configuration

Since: 1.0
Author: Benjamin Eberlei ([email protected])
Author: Lukas Kahwe Smith ([email protected])
Afficher le fichier Open project: doctrine/couchdb-odm Class Usage Examples

Méthodes publiques

Méthode Description
addDesignDocument ( string $name, string $className, array $options )
addDocumentNamespace ( string $alias, string $namespace ) Adds a namespace under a certain alias.
getAllOrNothingFlush ( ) : boolean
getAutoGenerateProxyClasses ( )
getDesignDocument ( string $name ) : array
getDesignDocumentNames ( ) : array
getDocumentNamespace ( string $documentNamespaceAlias ) : string Resolves a registered namespace alias to the full namespace.
getLuceneHandlerName ( )
getMetadataCacheImpl ( ) : Doctrine\Common\Cache\Cache Gets the cache driver implementation that is used for metadata caching.
getMetadataDriverImpl ( ) : Doctrine\Common\Persistence\Mapping\Driver\MappingDriver Gets the cache driver implementation that is used for the mapping metadata.
getMetadataResolverImpl ( )
getMigrations ( ) : Doctrine\ODM\CouchDB\Migrations\NullMigration;
getProxyDir ( ) : string Gets the directory where Doctrine generates any necessary proxy class files.
getProxyNamespace ( ) : string Gets the namespace for Doctrine proxy class files.
getUUIDGenerationBufferSize ( ) : integer Gets the default UUID Generator buffer size
getValidateDoctrineMetadata ( ) : boolean Gets if all CouchDB document metadata should be validated on read
newDefaultAnnotationDriver ( array $paths = [] ) : AnnotationDriver Add a new default annotation driver with a correctly configured annotation reader.
setAllOrNothingFlush ( boolean $allOrNothing )
setAutoGenerateProxyClasses ( $bool )
setDocumentNamespaces ( array $documentNamespaces ) : void Set the document alias map
setLuceneHandlerName ( $handlerName = '_fti' )
setMetadataCacheImpl ( Doctrine\Common\Cache\Cache $cacheImpl ) Sets the cache driver implementation that is used for metadata caching.
setMetadataDriverImpl ( Doctrine\Common\Persistence\Mapping\Driver\MappingDriver $driverImpl ) Sets the cache driver implementation that is used for metadata caching.
setMetadataResolverImpl ( Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver $resolver )
setMigrations ( Doctrine\ODM\CouchDB\Migrations\DocumentMigration $migration )
setProxyDir ( string $dir ) Sets the directory where Doctrine generates any necessary proxy class files.
setProxyNamespace ( string $namespace ) Sets the namespace for Doctrine proxy class files.
setUUIDGenerationBufferSize ( integer $UUIDGenerationBufferSize ) Sets the default UUID Generator buffer size
setValidateDoctrineMetadata ( boolean $validateDoctrineMetadata ) Sets if all CouchDB document metadata should be validated on read

Method Details

addDesignDocument() public méthode

public addDesignDocument ( string $name, string $className, array $options )
$name string
$className string
$options array

addDocumentNamespace() public méthode

Adds a namespace under a certain alias.
public addDocumentNamespace ( string $alias, string $namespace )
$alias string
$namespace string

getAllOrNothingFlush() public méthode

public getAllOrNothingFlush ( ) : boolean
Résultat boolean

getAutoGenerateProxyClasses() public méthode

getDesignDocument() public méthode

public getDesignDocument ( string $name ) : array
$name string
Résultat array

getDesignDocumentNames() public méthode

public getDesignDocumentNames ( ) : array
Résultat array

getDocumentNamespace() public méthode

Resolves a registered namespace alias to the full namespace.
public getDocumentNamespace ( string $documentNamespaceAlias ) : string
$documentNamespaceAlias string
Résultat string

getLuceneHandlerName() public méthode

getMetadataCacheImpl() public méthode

Gets the cache driver implementation that is used for metadata caching.
public getMetadataCacheImpl ( ) : Doctrine\Common\Cache\Cache
Résultat Doctrine\Common\Cache\Cache

getMetadataDriverImpl() public méthode

Gets the cache driver implementation that is used for the mapping metadata.
public getMetadataDriverImpl ( ) : Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
Résultat Doctrine\Common\Persistence\Mapping\Driver\MappingDriver

getMetadataResolverImpl() public méthode

getMigrations() public méthode

public getMigrations ( ) : Doctrine\ODM\CouchDB\Migrations\NullMigration;
Résultat Doctrine\ODM\CouchDB\Migrations\NullMigration;

getProxyDir() public méthode

Gets the directory where Doctrine generates any necessary proxy class files.
public getProxyDir ( ) : string
Résultat string

getProxyNamespace() public méthode

Gets the namespace for Doctrine proxy class files.
public getProxyNamespace ( ) : string
Résultat string

getUUIDGenerationBufferSize() public méthode

Gets the default UUID Generator buffer size

getValidateDoctrineMetadata() public méthode

Gets if all CouchDB document metadata should be validated on read

newDefaultAnnotationDriver() public méthode

Add a new default annotation driver with a correctly configured annotation reader.
public newDefaultAnnotationDriver ( array $paths = [] ) : AnnotationDriver
$paths array
Résultat Doctrine\ODM\CouchDB\Mapping\Driver\AnnotationDriver

setAllOrNothingFlush() public méthode

public setAllOrNothingFlush ( boolean $allOrNothing )
$allOrNothing boolean

setAutoGenerateProxyClasses() public méthode

public setAutoGenerateProxyClasses ( $bool )

setDocumentNamespaces() public méthode

Set the document alias map
public setDocumentNamespaces ( array $documentNamespaces ) : void
$documentNamespaces array
Résultat void

setLuceneHandlerName() public méthode

public setLuceneHandlerName ( $handlerName = '_fti' )

setMetadataCacheImpl() public méthode

Sets the cache driver implementation that is used for metadata caching.
public setMetadataCacheImpl ( Doctrine\Common\Cache\Cache $cacheImpl )
$cacheImpl Doctrine\Common\Cache\Cache

setMetadataDriverImpl() public méthode

Sets the cache driver implementation that is used for metadata caching.
public setMetadataDriverImpl ( Doctrine\Common\Persistence\Mapping\Driver\MappingDriver $driverImpl )
$driverImpl Doctrine\Common\Persistence\Mapping\Driver\MappingDriver

setMetadataResolverImpl() public méthode

public setMetadataResolverImpl ( Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver $resolver )
$resolver Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver

setMigrations() public méthode

public setMigrations ( Doctrine\ODM\CouchDB\Migrations\DocumentMigration $migration )
$migration Doctrine\ODM\CouchDB\Migrations\DocumentMigration

setProxyDir() public méthode

Sets the directory where Doctrine generates any necessary proxy class files.
public setProxyDir ( string $dir )
$dir string

setProxyNamespace() public méthode

Sets the namespace for Doctrine proxy class files.
public setProxyNamespace ( string $namespace )
$namespace string

setUUIDGenerationBufferSize() public méthode

Sets the default UUID Generator buffer size
public setUUIDGenerationBufferSize ( integer $UUIDGenerationBufferSize )
$UUIDGenerationBufferSize integer

setValidateDoctrineMetadata() public méthode

Sets if all CouchDB document metadata should be validated on read
public setValidateDoctrineMetadata ( boolean $validateDoctrineMetadata )
$validateDoctrineMetadata boolean