public function Session::get in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Session/Session.php \Symfony\Component\HttpFoundation\Session\Session::get()
Returns an attribute.
Parameters
string $name The attribute name:
mixed $default The default value if not found.:
Return value
mixed
Overrides SessionInterface::get
File
- vendor/
symfony/ http-foundation/ Session/ Session.php, line 85
Class
- Session
- Session.
Namespace
Symfony\Component\HttpFoundation\SessionCode
public function get($name, $default = null) {
return $this->storage
->getBag($this->attributeName)
->get($name, $default);
}