Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Psr7Middlewares
Utils
BasePathTrait
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