function KernelTestAttributeRouteDiscovery::__construct

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/KernelTests/KernelTestAttributeRouteDiscovery.php \Drupal\KernelTests\KernelTestAttributeRouteDiscovery::__construct()

File

core/tests/Drupal/KernelTests/KernelTestAttributeRouteDiscovery.php, line 16

Class

KernelTestAttributeRouteDiscovery
Discovers routes in a kernel test class using Symfony's Route attribute.

Namespace

Drupal\KernelTests

Code

public function __construct(protected readonly string $kernelTestClass) {
}

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