Passed
Push — main ( faf76d...59f012 )
by Jean-Christophe
02:21
created

ReactLibrary::getTemplateFolder()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 2
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
namespace PHPMV\core;
3
4
/**
5
 * PHPMV\core$Library
6
 * This class is part of php-ajax
7
 *
8
 * @author jc
9
 * @version 1.0.0
10
 *
11
 */
12
class ReactLibrary {
13
14
	public static $revision = 1;
15
16
	public const VERSION = '0.0.0';
17
18 3
	public static function getTemplateFolder() {
19 3
		return \dirname(__FILE__) . '/templates/rev' . self::$revision;
20
	}
21
}
22
23