PHP 클래스 Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver

부터: 1.0
저자: Jonathan H. Wage ([email protected])
저자: Roman Borschel ([email protected])
상속: implements Doctrine\ODM\MongoDB\Mapping\Driver\Driver
파일 보기 프로젝트 열기: doctrine/mongodb-odm 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$entityAnnotationClasses

공개 메소드들

메소드 설명
create ( array | string $paths = [], Doctrine\Common\Annotations\Reader $reader = null ) : AnnotationDriver Factory method for the Annotation Driver
loadMetadataForClass ( $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $class )
registerAnnotationClasses ( ) Registers annotation classes to the common registry.

비공개 메소드들

메소드 설명
addIndex ( ClassMetadataInfo $class, $index, array $keys = [] )
setShardKey ( ClassMetadataInfo $class, Doctrine\ODM\MongoDB\Mapping\Annotations\ShardKey $shardKey )

메소드 상세

create() 공개 정적인 메소드

Factory method for the Annotation Driver
public static create ( array | string $paths = [], Doctrine\Common\Annotations\Reader $reader = null ) : AnnotationDriver
$paths array | string
$reader Doctrine\Common\Annotations\Reader
리턴 AnnotationDriver

loadMetadataForClass() 공개 메소드

public loadMetadataForClass ( $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $class )
$class Doctrine\Common\Persistence\Mapping\ClassMetadata

registerAnnotationClasses() 공개 정적인 메소드

This method should be called when bootstrapping your application.
public static registerAnnotationClasses ( )

프로퍼티 상세

$entityAnnotationClasses 보호되어 있는 프로퍼티

protected $entityAnnotationClasses