Documentation

AnnotationLoader
in package
implements LoaderInterface

Loads validation metadata using a Doctrine annotation {@link Reader} or using PHP 8 attributes.

Tags
author

Bernhard Schussek bschussek@gmail.com

author

Alexander M. Turek me@derrabus.de

Table of Contents

Interfaces

LoaderInterface
Loads validation metadata into {@link ClassMetadata} instances.

Properties

$reader  : mixed

Methods

__construct()  : mixed
loadClassMetadata()  : bool
Loads validation metadata into a {@link ClassMetadata} instance.
getAnnotations()  : iterable<string|int, mixed>

Properties

Methods

getAnnotations()

private getAnnotations(ReflectionClass|ReflectionMethod|ReflectionProperty $reflection) : iterable<string|int, mixed>
Parameters
$reflection : ReflectionClass|ReflectionMethod|ReflectionProperty
Return values
iterable<string|int, mixed>

        
On this page

Search results