Method | Description | |
---|---|---|
__construct ( |
Constructor. | |
addGlobalIgnoredName ( string $name ) | Add a new annotation to the globally ignored annotation names with regard to exception handling. | |
addGlobalIgnoredNamespace ( string $namespace ) | Add a new annotation to the globally ignored annotation namespaces with regard to exception handling. | |
getClassAnnotation ( ReflectionClass $class, $annotationName ) | {@inheritDoc} | |
getClassAnnotations ( ReflectionClass $class ) | {@inheritDoc} | |
getMethodAnnotation ( ReflectionMethod $method, $annotationName ) | {@inheritDoc} | |
getMethodAnnotations ( ReflectionMethod $method ) | {@inheritDoc} | |
getPropertyAnnotation ( ReflectionProperty $property, $annotationName ) | {@inheritDoc} | |
getPropertyAnnotations ( ReflectionProperty $property ) | {@inheritDoc} |
Method | Description | |
---|---|---|
collectParsingMetadata ( ReflectionClass $class ) | Collects parsing metadata for a given class. | |
getClassImports ( ReflectionClass $class ) : array | Retrieves imports. | |
getIgnoredAnnotationNames ( ReflectionClass $class ) : array | Returns the ignored annotations for the given class. | |
getMethodImports ( ReflectionMethod $method ) : array | Retrieves imports for methods. | |
getPropertyImports ( ReflectionProperty $property ) : array | Retrieves imports for properties. |
public __construct ( |
||
$parser |
public static addGlobalIgnoredName ( string $name ) | ||
$name | string |
public static addGlobalIgnoredNamespace ( string $namespace ) | ||
$namespace | string |
public getClassAnnotation ( ReflectionClass $class, $annotationName ) | ||
$class | ReflectionClass |
public getClassAnnotations ( ReflectionClass $class ) | ||
$class | ReflectionClass |
public getMethodAnnotation ( ReflectionMethod $method, $annotationName ) | ||
$method | ReflectionMethod |
public getMethodAnnotations ( ReflectionMethod $method ) | ||
$method | ReflectionMethod |
public getPropertyAnnotation ( ReflectionProperty $property, $annotationName ) | ||
$property | ReflectionProperty |
public getPropertyAnnotations ( ReflectionProperty $property ) | ||
$property | ReflectionProperty |