function YamlRouteDiscovery::__construct

File

core/lib/Drupal/Core/Routing/YamlRouteDiscovery.php, line 17

Class

YamlRouteDiscovery
Reads routing.yml files provided by modules and creates route collections.

Namespace

Drupal\Core\Routing

Code

public function __construct(protected readonly ModuleHandlerInterface $moduleHandler, protected readonly ControllerResolverInterface $controllerResolver) {
}

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