You are here

public function SessionInterface::get in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Session

Code

public function get($name, $default = null);