Returns an attribute.
Parameters
string $name The attribute name:
mixed $default The default value if not found.:
Return value
mixed
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);