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
Middleware
LanguageNegotiator
usePath
Psr7Middlewares\Middleware\LanguageNegotiator::usePath PHP Method
LanguageNegotiator Class Documentation
Show file
Open project: oscarotero/psr7-middlewares
usePath()
public
method
Use the base path to detect the current language.
public
usePath
(
boolean
$usePath
= true ) :
self
$usePath
boolean
return
self
public function usePath($usePath = true) { $this->usePath = $usePath; return $this; }
LanguageNegotiator
__construct
__invoke
getLanguage
usePath