You are here

public function Request::setSession in Zircon Profile 8

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

Sets the Session.

Parameters

SessionInterface $session The Session:

File

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

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function setSession(SessionInterface $session) {
  $this->session = $session;
}