【文件属性】:
文件名称:filereflection:使用缺少的 ReflectionFile 类补充 PHP 反射 API
文件大小:12KB
文件格式:ZIP
更新时间:2021-07-21 09:15:46
PHP
思维游戏/文件反射
这个库通过缺少的 ReflectionFile 类补充了 PHP 。
其他一些库已经可以做到这一点,但是这个库实现了我能找到的其他实现中缺少的一个重要功能:根据解析本地类型名称。
界面非常简单:
ReflectionFile {
public __construct( string $path )
public string getPath ( void )
public string getNamespaceName ( void )
public string resolveName ( string $name )
public ReflectionClass getClass ( string $name )
public ReflectionClass[] getClasses ( void )
}
用
【文件预览】:
filereflection-master
----.gitignore(13B)
----.travis.yml(149B)
----composer.json(438B)
----composer.lock(2KB)
----mindplay()
--------filereflection()
----README.md(1KB)
----test()
--------test.C.php_(107B)
--------header.php(558B)
--------test.D.php_(57B)
--------test.php(9KB)
--------build()
--------benchmark.php(584B)
--------test.B.php_(78B)
--------test.A.php_(63B)