Get classes in a directory with PHP
-
07-02-2021 - |
Question
Is there a way to obtain a list of all classes that implement a certain Interface inside a directory?
Solution
In the directory:
grep 'implements {x}' *
That should do it.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow