PHP Класс Doctrine\OXM\Configuration

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$attributes array Values are default values.

Открытые методы

Метод Описание
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.

Описание методов

ensureProductionSettings() публичный Метод

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

getAutoGenerateProxyClasses() публичный Метод

Gets a boolean flag that indicates whether proxy classes should always be regenerated during each script execution.
public getAutoGenerateProxyClasses ( ) : boolean
Результат boolean

getClassMetadataFactoryName() публичный Метод

public getClassMetadataFactoryName ( ) : string
Результат string

getEntityNamespace() публичный Метод

Resolves a registered namespace alias to the full namespace.
public getEntityNamespace ( string $entityNamespaceAlias ) : string
$entityNamespaceAlias string
Результат string

getMarshallerClassName() публичный Метод

public getMarshallerClassName ( ) : Doctrine\OXM\Marshaller\Marshaller
Результат Doctrine\OXM\Marshaller\Marshaller

getMetadataCacheImpl() публичный Метод

Gets the cache driver implementation that is used for metadata caching.
public getMetadataCacheImpl ( ) : Doctrine\Common\Cache\Cache
Результат Doctrine\Common\Cache\Cache

getMetadataDriverImpl() публичный Метод

Gets the cache driver implementation that is used for the mapping metadata.
public getMetadataDriverImpl ( ) : Doctrine\OXM\Mapping\Driver\Driver
Результат Doctrine\OXM\Mapping\Driver\Driver

getProxyDir() публичный Метод

Gets the directory where Doctrine generates any necessary proxy class files.
public getProxyDir ( ) : string
Результат string

getProxyNamespace() публичный Метод

Gets the namespace where proxy classes reside.
public getProxyNamespace ( ) : string
Результат string

newDefaultAnnotationDriver() публичный Метод

Add a new default annotation driver with a correctly configured annotation reader.
public newDefaultAnnotationDriver ( array $paths = [] ) : AnnotationDriver
$paths array
Результат Doctrine\OXM\Mapping\Driver\AnnotationDriver

setAutoGenerateProxyClasses() публичный Метод

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

setClassMetadataFactoryName() публичный Метод

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

setEntityNamespaces() публичный Метод

Set the entity alias map
public setEntityNamespaces ( array $entityNamespaces ) : void
$entityNamespaces array
Результат void

setMarshallerClassName() публичный Метод

public setMarshallerClassName ( string $marshallerClassName ) : void
$marshallerClassName string
Результат void

setMetadataCacheImpl() публичный Метод

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

setMetadataDriverImpl() публичный Метод

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() публичный Метод

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

setProxyNamespace() публичный Метод

Sets the namespace where proxy classes reside.
public setProxyNamespace ( string $ns )
$ns string

Описание свойств

$attributes защищенное свойство

Values are default values.
protected array $attributes
Результат array