You are here

public function Request::getSession in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::getSession()

Gets the Session.

Return value

SessionInterface|null The session

File

vendor/symfony/http-foundation/Request.php, line 745

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function getSession() {
  return $this->session;
}