BearFramework\App\Request\Path::getSegment

Returns the value of the path segment for the index specified or null if not found.
public string|null getSegment int $index )
Parameters
index
the index of the path segment.
Returns
The value of the path segment for the index specified or null if not found.
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.