You are here

public function CookieHelper::__construct in Persistent Login 8

Instantiates a new CookieHelper instance.

Parameters

\Drupal\Core\Session\SessionConfigurationInterface $session_configuration: The session configuration.

\Drupal\Core\Config\ConfigFactoryInterface $configFactory: The Config Factory service.

File

src/CookieHelper.php, line 36

Class

CookieHelper
Cookie helper service.

Namespace

Drupal\persistent_login

Code

public function __construct(SessionConfigurationInterface $session_configuration, ConfigFactoryInterface $configFactory) {
  $this->sessionConfiguration = $session_configuration;
  $this->configFactory = $configFactory;
}