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
Geolocate
saveInSession
Psr7Middlewares\Middleware\Geolocate::saveInSession PHP Method
Geolocate Class Documentation
Show file
Open project: oscarotero/psr7-middlewares
saveInSession()
public
method
Wheter or not save the geolocation in a session variable.
public
saveInSession
(
boolean
$save
= true ) :
self
$save
boolean
return
self
public function saveInSession($save = true) { $this->saveInSession = $save; return $this; }
Geolocate
__construct
__invoke
getLocation
saveInSession