Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Request.php

function Request::setSession

1 call to Request::setSession()
Request::getSession in vendor/symfony/http-foundation/Request.php
Gets the Session.

File

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

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public function setSession(SessionInterface $session) : void {
    $this->session = $session;
}
RSS feed
Powered by Drupal