public function Session::set in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/Session.php \Symfony\Component\HttpFoundation\Session\Session::set()
Sets an attribute.
Parameters
string $name:
mixed $value:
Overrides SessionInterface::set
File
- vendor/
symfony/ http-foundation/ Session/ Session.php, line 93
Class
- Session
- Session.
Namespace
Symfony\Component\HttpFoundation\SessionCode
public function set($name, $value) {
$this->storage
->getBag($this->attributeName)
->set($name, $value);
}