You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Annotations placed in external files not read.
I would like to place annotations in external files beside the class/models/resources/etc. Creating a User.php model/class and an annotation file beside it UserAnnotation.php with just the annotation in it is ignored. No errors are thrown.
It appears that only php files with annotations are scanned if there is a matching class or method declaration.
Steps To Reproduce:
Create a file with class Foo.php
Create a file FooAnnotation.php containing only the annotation block.
The text was updated successfully, but these errors were encountered:
Thanks - I did find and read that little bit and wondered if your package was doing something different ... I did try the dummy class several times but the annotations were not getting picked up.
What did finally work was adding the namespace to the dummy class...
Description:
Annotations placed in external files not read.
I would like to place annotations in external files beside the class/models/resources/etc. Creating a User.php model/class and an annotation file beside it UserAnnotation.php with just the annotation in it is ignored. No errors are thrown.
It appears that only php files with annotations are scanned if there is a matching class or method declaration.
Steps To Reproduce:
Create a file with class Foo.php
Create a file FooAnnotation.php containing only the annotation block.
The text was updated successfully, but these errors were encountered: