Same name and namespace in other branches
  1. 8.9.x core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php \Drupal\help_test\SupernovaGenerator::generate()
  2. 9 core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php \Drupal\help_test\SupernovaGenerator::generate()

File

core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php, line 30

Class

SupernovaGenerator
Implements a URL generator which always thrown an exception.

Namespace

Drupal\help_test

Code

public function generate($name, $parameters = [], $referenceType = self::ABSOLUTE_PATH) : string {
  throw new \Exception();
}