SpecificationFactory
in package
implements
SpecificationFactoryInterface
Factory class to build Specification used by FlyFinder when reading files to process.
Interfaces, Classes and Traits
- SpecificationFactoryInterface
- Interface for Specifications used to filter the FileSystem.
Table of Contents
- 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|\phpDocumentor\Path> $paths, array<string, bool|string[]|null> $ignore, array<int, string> $extensions) : SpecificationInterface
Parameters
- $paths : array<int, string|\phpDocumentor\Path>
- $ignore : array<string, bool|string[]|null>
- $extensions : array<int, string>