Checks if an attribute is defined.
Parameters
string $name The attribute name:
Return value
Boolean true if the attribute is defined, false otherwise
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);