public function AttributeBagInterface::get

Returns an attribute.

Parameters

string $name The attribute name:

mixed $default The default value if not found.:

Return value

mixed

1 method overrides AttributeBagInterface::get()
AttributeBag::get in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Attribute/AttributeBag.php
Returns an attribute.

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Attribute/AttributeBagInterface.php, line 40

Class

AttributeBagInterface
Attributes store.

Namespace

Symfony\Component\HttpFoundation\Session\Attribute

Code

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