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
scanFiles finds files only in the specified directory, everything is ok.
What is the expected result?
However, get_declared_classes processes ALL classes in the context's reach. This means that if we want to get a list of classes from a given directory, but there are other classes in the project that implement the given interface, the find method will return them as well.
What do you get instead?
I recommend filtering the directory at the class reflection level
The text was updated successfully, but these errors were encountered:
What steps will reproduce the problem?
scanFiles finds files only in the specified directory, everything is ok.
What is the expected result?
However, get_declared_classes processes ALL classes in the context's reach. This means that if we want to get a list of classes from a given directory, but there are other classes in the project that implement the given interface, the find method will return them as well.
What do you get instead?
I recommend filtering the directory at the class reflection level
The text was updated successfully, but these errors were encountered: