1 | <?php |
||
9 | class GraphQLTwigRouter { |
||
10 | |||
11 | /** |
||
12 | * The theme handler to collect routes from theme info files. |
||
13 | * |
||
14 | * @var \Drupal\Core\Extension\ThemeHandlerInterface |
||
15 | */ |
||
16 | protected $themeHandler; |
||
17 | |||
18 | /** |
||
19 | * GraphQLTwigRouter constructor. |
||
20 | * |
||
21 | * @param \Drupal\Core\Extension\ThemeHandlerInterface $themeHandler |
||
22 | * The theme handler to collect routes from theme info files. |
||
23 | */ |
||
24 | public function __construct(ThemeHandlerInterface $themeHandler) { |
||
27 | |||
28 | /** |
||
29 | * Generate a list of routes based on theme info files. |
||
30 | * |
||
31 | * @return \Symfony\Component\Routing\Route[] |
||
32 | * A list of routes defined by themes. |
||
33 | */ |
||
34 | public function routes() { |
||
54 | |||
55 | } |
||
56 |