Provides information about the request path.
BearFramework\App\Request\Path {

/* Methods */
public __construct ( [ string $path '' ] )
string get void )
string|null getSegment int $index )
bool match string|string[] $pattern )
self set string $path )

public __construct ( [ string $path = '' ] )
public string get ( void )
Returns the full path.
public string|null getSegment ( int $index )
Returns the value of the path segment for the index specified or null if not found.
public bool match ( string|string[] $pattern )
Checks if the current path matches the pattern/patterns specified.
public self set ( string $path )
Sets a new path.
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.