Same filename and directory in other branches
- 8.9.x core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php
- 9 core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php
Namespace
Drupal\help_test
File
core/modules/help/tests/modules/help_test/src/SupernovaGenerator.php
View source
<?php
namespace Drupal\help_test;
use Drupal\Core\Routing\UrlGeneratorInterface;
use Symfony\Component\Routing\RequestContext;
class SupernovaGenerator implements UrlGeneratorInterface {
public function setContext(RequestContext $context) {
throw new \Exception();
}
public function getContext() : RequestContext {
throw new \Exception();
}
public function generate($name, $parameters = [], $referenceType = self::ABSOLUTE_PATH) : string {
throw new \Exception();
}
public function getPathFromRoute($name, $parameters = []) {
throw new \Exception();
}
public function generateFromRoute($name, $parameters = [], $options = [], $collect_bubbleable_metadata = FALSE) {
throw new \Exception();
}
}
Classes