You are here

public function BaseRoutingTest::dataSymbols in XHProf 8

Data provider for ::testSymbolRoute()

Return value

array Test cases.

File

tests/src/Kernel/BaseRoutingTest.php, line 45

Class

BaseRoutingTest
Tests routing generation.

Namespace

Drupal\Tests\xhprof\Kernel

Code

public function dataSymbols() {
  return [
    'backslash' => [
      'Drupal\\xhprof\\EventSubscriber\\XHProfEventSubscriber::onKernelTerminate',
      'Drupal%5Cxhprof%5CEventSubscriber%5CXHProfEventSubscriber%3A%3AonKernelTerminate',
    ],
    'slash' => [
      'load::Controller/NodeController.php',
      'load%3A%3AController/NodeController.php',
    ],
  ];
}