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
yii
web
Application
getSession
yii\web\Application::getSession PHP Method
Application Class Documentation
Show file
Open project: yiisoft/yii2
getSession()
public
method
Returns the session component.
public
getSession
( ) :
yii\web\Session
return
yii\web\Session
the session component.
public function getSession() { return $this->get('session'); }
Application
bootstrap
coreComponents
getErrorHandler
getHomeUrl
getRequest
getResponse
getSession
getUser
handleRequest
setHomeUrl