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

Breadcrumb

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

function BrowserHasCookie::matches

Parameters

AbstractBrowser $browser:

Overrides Constraint::matches

File

vendor/symfony/browser-kit/Test/Constraint/BrowserHasCookie.php, line 42

Class

BrowserHasCookie

Namespace

Symfony\Component\BrowserKit\Test\Constraint

Code

protected function matches($browser) : bool {
    return null !== $browser->getCookieJar()
        ->get($this->name, $this->path, $this->domain);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal