PHP Class Doctrine\OXM\Configuration

Afficher le fichier Open project: doctrine/oxm Class Usage Examples

Protected Properties

Свойство Type Description
$attributes array Values are default values.

Méthodes publiques

Méthode Description
ensureProductionSettings ( ) Ensures that this Configuration instance contains settings that are suitable for a production environment.
getAutoGenerateProxyClasses ( ) : boolean Gets a boolean flag that indicates whether proxy classes should always be regenerated during each script execution.
getClassMetadataFactoryName ( ) : string
getEntityNamespace ( string $entityNamespaceAlias ) : string Resolves a registered namespace alias to the full namespace.
getMarshallerClassName ( ) : Doctrine\OXM\Marshaller\Marshaller
getMetadataCacheImpl ( ) : Doctrine\Common\Cache\Cache Gets the cache driver implementation that is used for metadata caching.
getMetadataDriverImpl ( ) : Doctrine\OXM\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.
setClassMetadataFactoryName ( $cmfName ) Set a class metadata factory.
setEntityNamespaces ( array $entityNamespaces ) : void Set the entity alias map
setMarshallerClassName ( string $marshallerClassName ) : void
setMetadataCacheImpl ( Doctrine\Common\Cache\Cache $cacheImpl ) Sets the cache driver implementation that is used for metadata caching.
setMetadataDriverImpl ( Doctrine\OXM\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.

Method Details

ensureProductionSettings() public méthode

Ensures that this Configuration instance contains settings that are suitable for a production environment.

getAutoGenerateProxyClasses() public méthode

Gets a boolean flag that indicates whether proxy classes should always be regenerated during each script execution.

getClassMetadataFactoryName() public méthode

public getClassMetadataFactoryName ( ) : string
Résultat string

getEntityNamespace() public méthode

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

getMarshallerClassName() public méthode

public getMarshallerClassName ( ) : Doctrine\OXM\Marshaller\Marshaller
Résultat Doctrine\OXM\Marshaller\Marshaller

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\OXM\Mapping\Driver\Driver
Résultat Doctrine\OXM\Mapping\Driver\Driver

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 where proxy classes reside.
public getProxyNamespace ( ) : string
Résultat string

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\OXM\Mapping\Driver\AnnotationDriver

setAutoGenerateProxyClasses() public méthode

Sets a boolean flag that indicates whether proxy classes should always be regenerated during each script execution.

setClassMetadataFactoryName() public méthode

Set a class metadata factory.
public setClassMetadataFactoryName ( $cmfName )

setEntityNamespaces() public méthode

Set the entity alias map
public setEntityNamespaces ( array $entityNamespaces ) : void
$entityNamespaces array
Résultat void

setMarshallerClassName() public méthode

public setMarshallerClassName ( string $marshallerClassName ) : void
$marshallerClassName string
Résultat void

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\OXM\Mapping\Driver\Driver $driverImpl )
$driverImpl Doctrine\OXM\Mapping\Driver\Driver

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 where proxy classes reside.
public setProxyNamespace ( string $ns )
$ns string

Property Details

$attributes protected_oe property

Values are default values.
protected array $attributes
Résultat array