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

Breadcrumb

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

function AttributeFileLoader::__construct

File

vendor/symfony/routing/Loader/AttributeFileLoader.php, line 28

Class

AttributeFileLoader
AttributeFileLoader loads routing information from attributes set on a PHP class and its methods.

Namespace

Symfony\Component\Routing\Loader

Code

public function __construct(FileLocatorInterface $locator, AttributeClassLoader $loader) {
    if (!\function_exists('token_get_all')) {
        throw new \LogicException('The Tokenizer extension is required for the routing attribute loader.');
    }
    parent::__construct($locator);
}

API Navigation

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