AbstractAnnotationDriver
abstract class AbstractAnnotationDriver implements AnnotationDriverInterface
Class AbstractAnnotationDriver
Properties
| protected object | $reader | Annotation reader instance | |
| protected | $_originalDriver | Original driver if it is available | |
| protected array | $validTypes | List of types which are valid for extension |
Methods
Set annotation reader class since older doctrine versions do not provide an interface it must provide these methods: getClassAnnotations([reflectionClass]) getClassAnnotation([reflectionClass], [name]) getPropertyAnnotations([reflectionProperty]) getPropertyAnnotation([reflectionProperty], [name])
Passes in the mapping read by original driver
No description
No description
Try to find out related class name out of mapping
Checks if $field type is valid
Details
at line 42
setAnnotationReader(object $reader)
Set annotation reader class since older doctrine versions do not provide an interface it must provide these methods: getClassAnnotations([reflectionClass]) getClassAnnotation([reflectionClass], [name]) getPropertyAnnotations([reflectionProperty]) getPropertyAnnotation([reflectionProperty], [name])
at line 52
setOriginalDriver(object $driver)
Passes in the mapping read by original driver
at line 64
ReflectionClass
getMetaReflectionClass(object $meta)
at line 81
validateFullMetadata(ClassMetadata $meta, array $config)
at line 93
protected string
getRelatedClassName(ClassMetadata $metadata, string $name)
Try to find out related class name out of mapping
at line 113
protected boolean
isValidField(object $meta, string $field)
Checks if $field type is valid