Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
35 | public static function getRootTemplateDir() |
||
36 | { |
||
37 | if (null === self::$rootTemplateDir) { |
||
38 | self::$rootTemplateDir = PathHelper::appendPathSeparator( |
||
39 | realpath( |
||
40 | sprintf( |
||
41 | '%s../../../../templates', |
||
42 | PathHelper::appendPathSeparator(__DIR__) |
||
43 | ) |
||
44 | ) |
||
45 | ); |
||
46 | } |
||
47 | return self::$rootTemplateDir; |
||
48 | } |
||
49 | } |
||
50 |