SpecificationFactory
in package
implements
SpecificationFactoryInterface
FinalYes
Factory class to build Specification used by FlyFinder when reading files to process.
Table of Contents
Interfaces
- SpecificationFactoryInterface
- Interface for Specifications used to filter the FileSystem.
Methods
- create() : SpecificationInterface
- Creates a SpecificationInterface object based on the ignore and extension parameters.
Methods
create()
Creates a SpecificationInterface object based on the ignore and extension parameters.
public
create(array<int, string|Path> $paths, array<string, bool|array<string|int, string>|null> $ignore, array<int, string> $extensions) : SpecificationInterface
Parameters
- $paths : array<int, string|Path>
- $ignore : array<string, bool|array<string|int, string>|null>
- $extensions : array<int, string>