Checks if an attribute is defined.
@api
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/SessionInterface.php, line 121
Class
- SessionInterface
- Interface for the session.
Namespace
Symfony\Component\HttpFoundation\Session
Code
public function has($name);