PHP 클래스 Atrauzzi\LaravelDoctrine\ConfigMappingDriver

상속: implements Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
파일 보기 프로젝트 열기: atrauzzi/laravel-doctrine

공개 메소드들

메소드 설명
getAllClassNames ( ) : array Gets the names of all mapped classes known to this driver.
isTransient ( string $className ) : boolean Returns whether the class with the specified name should have its metadata loaded.
loadMetadataForClass ( string $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : void Loads the metadata for the specified class into the provided container.

보호된 메소드들

메소드 설명
mapField ( Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder $builder, string $name, array | string $config ) Parses configuration for a field and adds it to the class metadata.

메소드 상세

getAllClassNames() 공개 메소드

Gets the names of all mapped classes known to this driver.
public getAllClassNames ( ) : array
리턴 array The names of all mapped classes known to this driver.

isTransient() 공개 메소드

This is only the case if it is either mapped as an Entity or a MappedSuperclass.
public isTransient ( string $className ) : boolean
$className string
리턴 boolean

loadMetadataForClass() 공개 메소드

Loads the metadata for the specified class into the provided container.
public loadMetadataForClass ( string $className, Doctrine\Common\Persistence\Mapping\ClassMetadata $metadata ) : void
$className string
$metadata Doctrine\Common\Persistence\Mapping\ClassMetadata
리턴 void

mapField() 보호된 메소드

Parses configuration for a field and adds it to the class metadata.
protected mapField ( Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder $builder, string $name, array | string $config )
$builder Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder
$name string
$config array | string