PHP Class Webiny\Component\Annotations\Bridge\Minime\Annotations

Inheritance: implements Webiny\Component\Annotations\Bridge\AnnotationsInterface
Show file Open project: Webiny/Framework

Public Methods

Method Description
getClassAnnotations ( string $class ) : array Get all annotations for the given class.
getMethodAnnotations ( string $class, string $method ) : array Get all annotations for the method name on the given class.
getPropertyAnnotations ( string $class, string $property ) : array Get all annotations for the property name on the given class.

Private Methods

Method Description
parseAnnotations ( Reflector $reflector )

Method Details

getClassAnnotations() public method

Get all annotations for the given class.
public getClassAnnotations ( string $class ) : array
$class string Fully qualified class name
return array An associative array with all annotations.

getMethodAnnotations() public method

Get all annotations for the method name on the given class.
public getMethodAnnotations ( string $class, string $method ) : array
$class string Fully qualified class name
$method string Method name
return array An associative array with all annotations.

getPropertyAnnotations() public method

Get all annotations for the property name on the given class.
public getPropertyAnnotations ( string $class, string $property ) : array
$class string Fully qualified class name
$property string Property name
return array An associative array with all annotations.