1 | <?php |
||
12 | class RequestController implements ContainerInjectionInterface { |
||
13 | |||
14 | /** |
||
15 | * The mongodb_watchdog logger, to access events. |
||
16 | * |
||
17 | * @var \Drupal\mongodb_watchdog\Logger |
||
18 | */ |
||
19 | protected $watchdog; |
||
20 | |||
21 | public function __construct(Logger $watchdog) { |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public static function create(ContainerInterface $container) { |
||
33 | |||
34 | /** |
||
35 | * Controller. |
||
36 | * |
||
37 | * @param string $unique_id |
||
38 | * The unique request id from mod_unique_id. |
||
39 | * |
||
40 | * @return array |
||
41 | * A render array. |
||
42 | */ |
||
43 | public function track($unique_id) { |
||
50 | |||
51 | } |
||
52 |