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

Breadcrumb

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

function AttributeBag::set

Overrides AttributeBagInterface::set

1 call to AttributeBag::set()
AttributeBag::replace in vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php

File

vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php, line 63

Class

AttributeBag
This class relates to session attribute storage.

Namespace

Symfony\Component\HttpFoundation\Session\Attribute

Code

public function set(string $name, mixed $value) : void {
    $this->attributes[$name] = $value;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal