Docs
Addons
Community
News
Documentation
/
API
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
BearFramework\App\Request\Path
Location: ~/src/App/Request/Path.php
back to index
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.