FilePatternResolver
class FilePatternResolver (View source)
Resolve files after a pattern.
The returned files will not be checked for recursion and for readability.
Constants
protected RECURSIVE_GLOB_PATTERN |
|
protected SIMPLE_GLOB_PATTERN |
|
Methods
static array
resolveFilesByPattern(string $filePattern, string|null $filePathForRelativeResolves, string $defaultFileEndForUnspecificGlobbing)
No description
static bool
isPatternStreamWrapper(string $filePattern)
No description
static string
resolveRelativePath(string $filePattern, string|null $filePathForRelativeResolves)
No description
static array
parseGlobPatternAndResolveFiles(string $filePattern, string $defaultFileNameEnd)
No description
static array
Details
static array
resolveFilesByPattern(string $filePattern, string|null $filePathForRelativeResolves, string $defaultFileEndForUnspecificGlobbing)
No description
static protected bool
isPatternStreamWrapper(string $filePattern)
No description
static protected string
resolveRelativePath(string $filePattern, string|null $filePathForRelativeResolves)
No description
static protected array
parseGlobPatternAndResolveFiles(string $filePattern, string $defaultFileNameEnd)
No description
static protected array
iterateOverFilesAndSelectByFileEnding(Iterator $fileIterator, string $fileNameEnd)
No description