Copied!

Loader for Doctrine annotations and PHP 8 attributes.

CloneableInstantiable
Methods
public __construct(?Doctrine\Common\Annotations\Reader $reader = NULL)
public loadAnnotations(object $reflector) : iterable
 
  • param \ReflectionClass|\ReflectionMethod|\ReflectionProperty $reflector
public loadClassMetadata(Symfony\Component\Serializer\Mapping\ClassMetadataInterface $classMetadata) : bool
Constants
private Symfony\Component\Serializer\Mapping\Loader\AnnotationLoader::KNOWN_ANNOTATIONS = ['Symfony\Component\Serializer\Annotation\DiscriminatorMap', 'Symfony\Component\Serializer\Annotation\Groups', 'Symfony\Component\Serializer\Annotation\Ignore', 'Symfony\Component\Serializer\Annotation\MaxDepth', 'Symfony\Component\Serializer\Annotation\SerializedName', 'Symfony\Component\Serializer\Annotation\SerializedPath', 'Symfony\Component\Serializer\Annotation\Context']
Properties
privatereadonly ?Doctrine\Common\Annotations\Reader $reader
Methods
private isKnownAttribute(string $attributeName) : bool
private setAttributeContextsForGroups(Symfony\Component\Serializer\Annotation\Context $annotation, Symfony\Component\Serializer\Mapping\AttributeMetadataInterface $attributeMetadata) : void
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration