PHP 클래스 Doctrine\ODM\MongoDB\Proxy\ProxyFactory

부터: 1.0
저자: Jonathan H. Wage ([email protected])
저자: Roman Borschel ([email protected])
저자: Giorgio Sironi ([email protected])
파일 보기 프로젝트 열기: doctrine/mongodb-odm 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( DocumentManager $documentManager, string $proxyDir, string $proxyNamespace, integer $autoGenerate = AbstractProxyFactory::AUTOGENERATE_NEVER ) Initializes a new instance of the ProxyFactory class that is connected to the given DocumentManager.
createProxyDefinition ( $className ) {@inheritDoc}
skipClass ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) {@inheritDoc}

비공개 메소드들

메소드 설명
createCloner ( Doctrine\Common\Persistence\Mapping\ClassMetadata $classMetadata, DocumentPersister $documentPersister, ReflectionPropert\ReflectionProperty $reflectionId ) : Closure Generates a closure capable of finalizing a cloned proxy
createInitializer ( Doctrine\Common\Persistence\Mapping\ClassMetadata $classMetadata, DocumentPersister $documentPersister, ReflectionPropert\ReflectionProperty $reflectionId ) : Closure Generates a closure capable of initializing a proxy

메소드 상세

__construct() 공개 메소드

Initializes a new instance of the ProxyFactory class that is connected to the given DocumentManager.
public __construct ( DocumentManager $documentManager, string $proxyDir, string $proxyNamespace, integer $autoGenerate = AbstractProxyFactory::AUTOGENERATE_NEVER )
$documentManager Doctrine\ODM\MongoDB\DocumentManager The DocumentManager the new factory works for.
$proxyDir string The directory to use for the proxy classes. It must exist.
$proxyNamespace string The namespace to use for the proxy classes.
$autoGenerate integer Whether to automatically generate proxy classes.

createProxyDefinition() 공개 메소드

{@inheritDoc}
public createProxyDefinition ( $className )

skipClass() 공개 메소드

{@inheritDoc}
public skipClass ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class )
$class Doctrine\Common\Persistence\Mapping\ClassMetadata