function BasicAuthTestController::__construct

File

core/modules/basic_auth/tests/modules/basic_auth_test/src/BasicAuthTestController.php, line 16

Class

BasicAuthTestController
Provides routes for HTTP Basic Authentication testing.

Namespace

Drupal\basic_auth_test

Code

public function __construct(#[Autowire(service: 'page_cache_kill_switch')] private ResponsePolicyInterface $pageCacheKillSwitch) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.