classtools:从文件系统中查找,提取和处理php类

时间:2021-05-10 23:40:18
【文件属性】:
文件名称:classtools:从文件系统中查找,提取和处理php类
文件大小:42KB
文件格式:ZIP
更新时间:2021-05-10 23:40:18
PHP 汉尼斯科德/ classtools 从文件系统中查找,提取和处理类。 安装 使用安装。 在存储库中以的存在。 从命令行使用: composer require hanneskod/classtools 使用迭代器 使用并扫描文件中的php类,接口和特征。 进入班级地图 getClassMap()返回类名称到对象的映射。 $ finder = new Symfony \ Component \ Finder \ Finder ; $ iter = new hanneskod\classtools\ Iterator \ ClassIterator ( $ finder -> in ( 'src' )); // Print the file names of classes, interfaces and traits in 'src' foreach ( $ iter -> getCl
【文件预览】:
classtools-master
----.gitignore(57B)
----README.md(5KB)
----tests()
--------Transformer()
--------Instantiator()
--------Iterator()
--------Loader()
--------MockFinder.php(358B)
--------IntegrationTest.php(396B)
--------NameTest.php(2KB)
--------MockSplFileInfo.php(781B)
--------bootstrap.php(174B)
----LICENSE(498B)
----phive.xml(409B)
----composer.json(759B)
----phpunit.xml.dist(326B)
----src()
--------Transformer()
--------Exception()
--------Name.php(2KB)
--------Instantiator()
--------Iterator()
--------Loader()
--------Exception.php(482B)
----.travis.yml(521B)
----Makefile(1KB)

网友评论