BearFramework\App\Request\Path::match

Checks if the current path matches the pattern/patterns specified.
public bool match string|string[] $pattern )
Parameters
pattern
Path pattern or array of patterns. Can contain "?" (path segment) and "*" (matches everything).
Returns
Returns TRUE if the current path matches the pattern provided
Details
Location: ~/src/App/Request/Path.php
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.