Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
31 | public function getPanel(): string { |
||
32 | 1 | $loader = $this->loader; |
|
33 | 1 | $translator = $this->translator; |
|
34 | 1 | $resourcesCount = count($loader->getResources(), COUNT_RECURSIVE) - count($loader->getResources()); |
|
35 | 1 | ob_start(); |
|
36 | 1 | require __DIR__ . "/TranslationPanel.panel.phtml"; |
|
37 | 1 | return (string) ob_get_clean(); |
|
38 | } |
||
47 | ?> |