BreadcrumbAnnotation
class BreadcrumbAnnotation extends AbstractAnnotationDriver
Constants
| BREADCRUMB |
Annotation to identify field as one which holds the breadcrumb together with breadcrumb options |
| HANDLER |
BreadcrumbHandler extension annotation |
| HANDLER_OPTION |
BreadcrumbHandler option annotation |
Properties
| protected object | $reader | Annotation reader instance | from AbstractAnnotationDriver |
| protected | $_originalDriver | Original driver if it is available | from AbstractAnnotationDriver |
| protected array | $validTypes | List of types which are valid for breadcrumb fields |
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
Try to find out related class name out of mapping
Checks if $field type is valid
{@inheritDoc}
Details
in AbstractAnnotationDriver 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])
in AbstractAnnotationDriver at line 52
setOriginalDriver(object $driver)
Passes in the mapping read by original driver
in AbstractAnnotationDriver at line 64
ReflectionClass
getMetaReflectionClass(object $meta)
in AbstractAnnotationDriver at line 81
validateFullMetadata(ClassMetadata $meta, array $config)
in AbstractAnnotationDriver at line 93
protected string
getRelatedClassName(ClassMetadata $metadata, string $name)
Try to find out related class name out of mapping
in AbstractAnnotationDriver at line 113
protected boolean
isValidField(object $meta, string $field)
Checks if $field type is valid
at line 54
readExtendedMetadata($meta, array $config)
{@inheritDoc}