Documentation

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>
Return values
SpecificationInterface

Search results