Simple annotation parser. Take only key-value annotations for methods or class.
param$annotationreturnnull
param$annotationreturnarray
Grabs annotation values.
Usage example:
<?php
Annotation::forClass('MyTestCase')->fetch('guy');
Annotation::forClass('MyTestCase')->method('testData')->fetch('depends');
Annotation::forClass('MyTestCase')->method('testData')->fetchAll('depends');
?>-
param$class -
return$this
-
param$class -
param$method -
return$this
-
param$method -
return$this