You are here

public function CookieHelperInterface::hasCookie in Persistent Login 8

Checks if a request contains a persistent login cookie.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The request.

Return value

bool TRUE if the request provides a persistent login cookie.

1 method overrides CookieHelperInterface::hasCookie()
CookieHelper::hasCookie in src/CookieHelper.php
Checks if a request contains a persistent login cookie.

File

src/CookieHelperInterface.php, line 43

Class

CookieHelperInterface
Interface for Persistent Login Cookie Helper services.

Namespace

Drupal\persistent_login

Code

public function hasCookie(Request $request);