ProviderExtension   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 2
c 1
b 0
f 1
dl 0
loc 6
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getTranslationResources() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Nexendrie\Translation\Bridges\NetteDI;
5
6
use Nette\DI\CompilerExtension;
7
8
/**
9
 * ProviderExtension
10
 *
11
 * @author Jakub Konečný
12
 */
13
final class ProviderExtension extends CompilerExtension implements ITranslationProvider {
14
  /**
15
   * @return string[]
16
   */
17
  public function getTranslationResources(): array {
18
    return [__DIR__ . "/../../../../_temp"];
19
  }
20
}
21
?>