Ok I found another one when I was using it on a larger scale app, specifying the parent src directory to parse.
With namespaced classes like:
- jc21\Api\Candidate
- jc21\Model\Candidate
And then 2 more classes, each using one of the classes above, the generate throws the following error:
PHP Fatal error: Cannot use jc21\Model\Candidate as Candidate because the name is already in use in /path/to/jc21/Api/Migrate.php on line 12
I assume it's because something weird is happening with reflection?
Let me know if this example isn't clear enough.
Ok I found another one when I was using it on a larger scale app, specifying the parent src directory to parse.
With namespaced classes like:
And then 2 more classes, each using one of the classes above, the generate throws the following error:
I assume it's because something weird is happening with reflection?
Let me know if this example isn't clear enough.