function YamlRouteDiscovery::__construct
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Routing/YamlRouteDiscovery.php \Drupal\Core\Routing\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\RoutingCode
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.