Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SessionInterface.php

function SessionInterface::has

Checks if an attribute is defined.

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 87

Class

SessionInterface
Interface for the session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function has(string $name) : bool;
RSS feed
Powered by Drupal