Метод | Описание | |
---|---|---|
getClassAnnotations ( string $class ) : |
Get all annotations for the given class. | |
getMethodAnnotations ( string $class, string $method ) : |
Get all annotations for the method name on the given class. | |
getPropertyAnnotations ( string $class, string $property ) : |
Get all annotations for the property name on the given class. |
Метод | Описание | |
---|---|---|
explodeNamespaces ( array $annotationBag ) : array | Converts the dotted annotations inside array key names into a multidimensional array. | |
setArrayValue ( array &$root, string $compositeKey, string $value ) | Changes the dotted annotation of one key into a multidimensional array. |
public static getClassAnnotations ( string $class ) : |
||
$class | string | Fully qualified class name |
Результат | ConfigObject instance containing all annotations. |
public static getMethodAnnotations ( string $class, string $method ) : |
||
$class | string | Fully qualified class name |
$method | string | Method name |
Результат | ConfigObject instance containing all annotations. |
public static getPropertyAnnotations ( string $class, string $property ) : |
||
$class | string | Fully qualified class name |
$property | string | Property name |
Результат | ConfigObject instance containing all annotations. |