Get classes in a directory with PHP
-
07-02-2021 - |
题
Is there a way to obtain a list of all classes that implement a certain Interface inside a directory?
解决方案
In the directory:
grep 'implements {x}' *
That should do it.
不隶属于 StackOverflow