PHP Trait Psr7Middlewares\Utils\BasePathTrait

Show file Open project: oscarotero/psr7-middlewares

Public Methods

Method Description
basePath ( string $basePath ) : self Set the basepath used in the request.

Private Methods

Method Description
getPath ( string $path ) : string Removes the basepath from a path.

Method Details

basePath() public method

Set the basepath used in the request.
public basePath ( string $basePath ) : self
$basePath string
return self