ResourceFileExtensionMatcher
implements
MatcherInterface
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
$extensions
protected
array<string|int, string>
$extensions
= []
$ignoredExtensions
protected
array<string|int, string>
$ignoredExtensions
= []
addExtension()
public
addExtension(string $extension) : self
Parameters
-
$extension
: string
-
addIgnoredExtension()
public
addIgnoredExtension(string $ignoredExtension) : self
Parameters
-
$ignoredExtension
: string
-
match()
public
match(mixed $item) : bool
Parameters
-
$item
: mixed
-
setExtensions()
public
setExtensions(array<string|int, string> $extensions) : self
Parameters
-
$extensions
: array<string|int, string>
-
setIgnoredExtensions()
public
setIgnoredExtensions(array<string|int, string> $ignoredExtensions) : self
Parameters
-
$ignoredExtensions
: array<string|int, string>
-
supports()
public
supports(mixed $item) : bool
Parameters
-
$item
: mixed
-