public function SessionInterface::get in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Session/SessionInterface.php \Symfony\Component\HttpFoundation\Session\SessionInterface::get()
Returns an attribute.
Parameters
string $name The attribute name:
mixed $default The default value if not found.:
Return value
mixed
1 method overrides SessionInterface::get()
- Session::get in vendor/
symfony/ http-foundation/ Session/ Session.php - Returns an attribute.
File
- vendor/
symfony/ http-foundation/ Session/ SessionInterface.php, line 115
Class
- SessionInterface
- Interface for the session.
Namespace
Symfony\Component\HttpFoundation\SessionCode
public function get($name, $default = null);