开发者

Get classes in a directory with PHP

开发者 https://www.devze.com 2023-04-11 00:32 出处:网络
Is there a way to obtain a list of all classe开发者_高级运维s that implement a certain Interface inside a directory?In the directory:

Is there a way to obtain a list of all classe开发者_高级运维s that implement a certain Interface inside a directory?


In the directory:

grep 'implements {x}' *

That should do it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号