Get classes in a directory with PHP
-
07-02-2021 - |
Pregunta
Is there a way to obtain a list of all classes that implement a certain Interface inside a directory?
Solución
In the directory:
grep 'implements {x}' *
That should do it.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow