Skip to content

Glob based on PathMatcherInterface #46

@samdark

Description

@samdark
$files = FileHelper::glob((new PathMatcher()->only('/var/www/yiiframework.com/**.jpg')));
  1. No need to specify directory such as in findFiles().
  2. Should support absolute paths only.
  3. Should determine non-dynamic part of the pattern /var/www/yiiframework.com/ and start matching from there.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions