Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContainerLoader.php

function ContainerLoader::supports

File

vendor/symfony/routing/Loader/ContainerLoader.php, line 30

Class

ContainerLoader
A route loader that executes a service from a PSR-11 container to load the routes.

Namespace

Symfony\Component\Routing\Loader

Code

public function supports(mixed $resource, ?string $type = null) : bool {
    return 'service' === $type && \is_string($resource);
}
RSS feed
Powered by Drupal