phpDocumentor

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(list<string|int, string|\phpDocumentor\Path> $paths, array<string, bool|string[]|null> $ignore, list<string|int, string> $extensions) : SpecificationInterface
Parameters
$paths : list<string|int, string|\phpDocumentor\Path>
$ignore : array<string, bool|string[]|null>
$extensions : list<string|int, string>
Return values
SpecificationInterface

Search results