Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
24 | 1 | public function autorun() : void |
|
25 | { |
||
26 | 1 | $detectorLanguage = new BaseDetector\Language($this->_registry, $this->_request); |
|
27 | 1 | $detectorTemplate = new BaseDetector\Template($this->_registry, $this->_request); |
|
28 | |||
29 | /* set the registry */ |
||
30 | |||
31 | 1 | $this->_registry->set('language', $detectorLanguage->getOutput()); |
|
32 | 1 | $this->_registry->set('template', $detectorTemplate->getOutput()); |
|
33 | 1 | } |
|
34 | } |
||
35 |