Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
SessionInterface.php
function SessionInterface::set
Sets an attribute.
1 method overrides
SessionInterface::set()
Session::set
in vendor/
symfony/
http-foundation/
Session/
Session.php
Sets an attribute.
File
vendor/
symfony/
http-foundation/
Session/
SessionInterface.php
, line 97
Class
SessionInterface
Interface for the session.
Namespace
Symfony\Component\HttpFoundation\Session
Code
public
function
set
(string
$name
, mixed
$value
) : void;
RSS feed