【文件属性】:
文件名称:finder::magnifying_glass_tilted_left:Finder:使用直观的API查找文件和目录
文件大小:8KB
文件格式:ZIP
更新时间:2021-02-05 14:48:58
php filesystem nette nette-framework finder
Nette Finder:文件搜索
介绍
Nette Finder使浏览目录结构变得非常容易。
可以在上找到文档。 如果您喜欢,。 谢谢!
安装:
composer require nette/finder
所有示例均假定定义了以下类别名:
use Nette \ Utils \ Finder ;
搜索文件
如何在$dir目录及其所有子目录中找到所有*.txt文件?
foreach ( Finder :: findFiles ( '*.txt' )-> from ( $ dir ) as $ key => $ file ) {
// $key is a string contai
【文件预览】:
finder-master
----contributing.md(1KB)
----src()
--------Utils()
----license.md(3KB)
----readme.md(4KB)
----composer.json(829B)