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
TrailingSlash
__construct
Psr7Middlewares\Middleware\TrailingSlash::__construct PHP Method
TrailingSlash Class Documentation
Show file
Open project: oscarotero/psr7-middlewares
__construct()
public
method
Configure whether add or remove the slash.
public
__construct
(
boolean
$addSlash
= false )
$addSlash
boolean
public function __construct($addSlash = false) { $this->addSlash = (bool) $addSlash; }
TrailingSlash
__construct
__invoke