summaryrefslogtreecommitdiffstatshomepage
path: root/core/lib/Drupal/Core/Routing/RouteObjectInterface.php
blob: e7afacd62431a5983c97072cc0067100140eaa74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php

namespace Drupal\Core\Routing;

/**
 * Provides constants used for retrieving matched routes.
 */
interface RouteObjectInterface {

  /**
   * Key for the route name.
   *
   * @var string
   */
  const ROUTE_NAME = '_route';

  /**
   * Key for the route object.
   *
   * @var string
   */
  const ROUTE_OBJECT = '_route_object';

  /**
   * Key for the controller.
   */
  const CONTROLLER_NAME = '_controller';

}