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

Breadcrumb

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

function AttributeClassLoader::setRouteAttributeClass

Sets the attribute class to read route properties from.

1 call to AttributeClassLoader::setRouteAttributeClass()
AttributeClassLoader::setRouteAnnotationClass in vendor/symfony/routing/Loader/AttributeClassLoader.php

File

vendor/symfony/routing/Loader/AttributeClassLoader.php, line 83

Class

AttributeClassLoader
AttributeClassLoader loads routing information from a PHP class and its methods.

Namespace

Symfony\Component\Routing\Loader

Code

public function setRouteAttributeClass(string $class) : void {
    $this->routeAnnotationClass = $class;
    $this->routeAttributeClass = $class;
}

API Navigation

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