You are here

public function AttributeBagInterface::has in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Session/Attribute/AttributeBagInterface.php \Symfony\Component\HttpFoundation\Session\Attribute\AttributeBagInterface::has()

Checks if an attribute is defined.

Parameters

string $name The attribute name:

Return value

bool true if the attribute is defined, false otherwise

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

File

vendor/symfony/http-foundation/Session/Attribute/AttributeBagInterface.php, line 30

Class

AttributeBagInterface
Attributes store.

Namespace

Symfony\Component\HttpFoundation\Session\Attribute

Code

public function has($name);