addendum
addendum copied to clipboard
Automatically exported from code.google.com/p/addendum
I'm getting PHP error when getting accessing the class, $reflection = new ReflectionAnnotatedClass("app\controllers\DashboardController") PHP Compile Error: Cannot declare class backend\controllers\DashboardController, because the name is already in use
Hi, do you still maintain addendum? If yes, do you plan composer a packagist support? Regards
add `composer.json` would you also please tag your code for some version and setup packagist.org hook?
``` What steps will reproduce the problem? 1. @Data(type="array", columns = {1 = "elm1", 2 = "elm2", 3 = "elm3}) 2. store the annotation in a variable $f 3. run...
``` Addendum's performance is greatly improved by introducing a cache for parsed annotations. See discussion here: https://groups.google.com/group/addendum-discuss/browse_thread/thread/d10167f236 dbd5c A patch is attached. ``` Original issue reported on code.google.com by `[email protected]`...
``` What steps will reproduce the problem? 1. Set Ignore annotations 2. Instantiate ReflectionAnnotatedClass with Doctrine2 Entity 3. What is the expected output? What do you see instead? Expected to...
``` What steps will reproduce the problem? /** Target('class') */ class AAA extends Annotation { } /** Target('property') */ class BBB extends Annotation { } /** @AAA('no') */ class x...
``` What steps will reproduce the problem? 1. Use a @Target annotated class besides a PHPUnit test using its Target class. What is the expected output? What do you see...
``` Addendum::getDeclaredAnnotations() does not work with autoloaders. I patched the Addendum class and added a declareAnnotation() method. You'll find the patch attached if you're interested. Thanks for this nice library,...
``` The static method getDeclaredAnnotations on class Addendum caches all the declared classes in Addendum::$annotations. When you try something like this: File: AnimalAnnotation.php: File: HumanAnnotation.php: File: Parser.php Now you get...