You are here

public function SessionInterface::has in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Session/SessionInterface.php \Symfony\Component\HttpFoundation\Session\SessionInterface::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 SessionInterface::has()
Session::has in vendor/symfony/http-foundation/Session/Session.php
Checks if an attribute is defined.

File

vendor/symfony/http-foundation/Session/SessionInterface.php, line 105

Class

SessionInterface
Interface for the session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function has($name);