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

Breadcrumb

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

function DirectoryLoader::supports

Same name in this branch
  1. 11.1.x vendor/symfony/dependency-injection/Loader/DirectoryLoader.php \Symfony\Component\DependencyInjection\Loader\DirectoryLoader::supports()

File

vendor/symfony/routing/Loader/DirectoryLoader.php, line 46

Class

DirectoryLoader

Namespace

Symfony\Component\Routing\Loader

Code

public function supports(mixed $resource, ?string $type = null) : bool {
    // only when type is forced to directory, not to conflict with AttributeLoader
    return 'directory' === $type;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal