0 follower

Interface Yiisoft\Files\PathMatcher\PathMatcherInterface

Implemented byYiisoft\Files\PathMatcher\CompositeMatcher, Yiisoft\Files\PathMatcher\PathMatcher, Yiisoft\Files\PathMatcher\PathPattern

An interface implemented by objects that perform matching of paths.

Public Methods

Hide inherited methods

Method Description Defined By
match() Checks if the path matches. Yiisoft\Files\PathMatcher\PathMatcherInterface

Method Details

Hide inherited methods

match() public abstract method

Checks if the path matches.

public abstract boolean|null match ( string $path )
$path string

The tested path.

return boolean|null

Whether the path matches or not, null if matching skipped.

                public function match(string $path): ?bool;