PHP Class Atrauzzi\LaravelDoctrine\ConfigMappingDriver

Inheritance: implements Doctrine\Common\Persistence\Mapping\Driver\MappingDriver
Afficher le fichier Open project: atrauzzi/laravel-doctrine

Méthodes publiques

Méthode Description
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.

Méthodes protégées

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

Method Details

getAllClassNames() public méthode

Gets the names of all mapped classes known to this driver.
public getAllClassNames ( ) : array
Résultat array The names of all mapped classes known to this driver.

isTransient() public méthode

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

loadMetadataForClass() public méthode

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
Résultat void

mapField() protected méthode

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