You are here

public function DenyCas::__construct in CAS 8

Same name and namespace in other branches
  1. 2.x src/PageCache/DenyCas.php \Drupal\cas\PageCache\DenyCas::__construct()

Constructs a response policy for disabling cache on specific CAS paths.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The current route match.

\Drupal\Core\Executable\ExecutableManagerInterface $condition_manager: The condition manager.

File

src/PageCache/DenyCas.php, line 42

Class

DenyCas
Ensures pages configured with gateway authentication are not cached.

Namespace

Drupal\cas\PageCache

Code

public function __construct(ConfigFactoryInterface $config_factory, ExecutableManagerInterface $condition_manager) {
  $this->configFactory = $config_factory;
  $this->conditionManager = $condition_manager;
}