Open samdark opened 3 years ago
$files = FileHelper::glob((new PathMatcher()->only('/var/www/yiiframework.com/**.jpg')));
findFiles()
/var/www/yiiframework.com/
In order for it to be implemented additional interface that can return the base directory is needed.
findFiles()
./var/www/yiiframework.com/
and start matching from there.