public function AttributeBag::set

Sets an attribute.

Parameters

string $name:

mixed $value:

Overrides AttributeBagInterface::set

1 call to AttributeBag::set()
1 method overrides AttributeBag::set()

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Attribute/AttributeBag.php, line 89

Class

AttributeBag
This class relates to session attribute storage

Namespace

Symfony\Component\HttpFoundation\Session\Attribute

Code

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