interface RouteCompilerInterface

RouteCompilerInterface is the interface that all RouteCompiler classes must implement.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of RouteCompilerInterface

All classes that implement RouteCompilerInterface

1 file declares its use of RouteCompilerInterface
RouteCompiler.php in drupal/core/lib/Drupal/Core/Routing/RouteCompiler.php
Definition of Drupal\Core\Routing\RouteCompiler.

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RouteCompilerInterface.php, line 19

Namespace

Symfony\Component\Routing
View source
interface RouteCompilerInterface {

  /**
   * Compiles the current route instance.
   *
   * @param Route $route A Route instance
   *
   * @return CompiledRoute A CompiledRoute instance
   *
   * @throws \LogicException If the Route cannot be compiled because the
   *                         path or host pattern is invalid
   */
  public static function compile(Route $route);

}

Members

Namesort descending Modifiers Type Description Overrides
RouteCompilerInterface::compile public static function Compiles the current route instance. 1