ResourceFileExtensionMatcher implements MatcherInterface

Internal

Table of Contents

Interfaces

MatcherInterface

Properties

$extensions  : array<string|int, string>
$ignoredExtensions  : array<string|int, string>

Methods

addExtension()  : self
addIgnoredExtension()  : self
match()  : bool
setExtensions()  : self
setIgnoredExtensions()  : self
supports()  : bool

Properties

$extensions

protected array<string|int, string> $extensions = []

$ignoredExtensions

protected array<string|int, string> $ignoredExtensions = []

Methods

addExtension()

public addExtension(string $extension) : self
Parameters
$extension : string
Return values
self

addIgnoredExtension()

public addIgnoredExtension(string $ignoredExtension) : self
Parameters
$ignoredExtension : string
Return values
self

match()

public match(mixed $item) : bool
Parameters
$item : mixed
Return values
bool

setExtensions()

public setExtensions(array<string|int, string> $extensions) : self
Parameters
$extensions : array<string|int, string>
Return values
self

setIgnoredExtensions()

public setIgnoredExtensions(array<string|int, string> $ignoredExtensions) : self
Parameters
$ignoredExtensions : array<string|int, string>
Return values
self

supports()

public supports(mixed $item) : bool
Parameters
$item : mixed
Return values
bool

        
On this page

Search results