public function AttributeBagInterface::has

Checks if an attribute is defined.

Parameters

string $name The attribute name:

Return value

Boolean true if the attribute is defined, false otherwise

1 method overrides AttributeBagInterface::has()
AttributeBag::has in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Attribute/AttributeBag.php
Checks if an attribute is defined.

File

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

Class

AttributeBagInterface
Attributes store.

Namespace

Symfony\Component\HttpFoundation\Session\Attribute

Code

public function has($name);