ProviderExtension::getTranslationResources()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 2
rs 10
cc 1
nc 1
nop 0
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
?>