Sets an attribute.
Parameters
string $name:
mixed $value:
Overrides AttributeBagInterface::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;
}