Get classes in a directory with PHP
-
07-02-2021 - |
Domanda
Is there a way to obtain a list of all classes that implement a certain Interface inside a directory?
Soluzione
In the directory:
grep 'implements {x}' *
That should do it.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow