PHP 클래스 Doctrine\OXM\Configuration

파일 보기 프로젝트 열기: doctrine/oxm 1 사용 예제들

보호된 프로퍼티들

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

getClassMetadataFactoryName() 공개 메소드

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