Completed
Push — master ( 4f998c...d47164 )
by Josh
15:35
created

TimestampFilter::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
ccs 0
cts 4
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
* @package   s9e\TextFormatter
5
* @copyright Copyright (c) 2010-2017 The s9e Authors
6
* @license   http://www.opensource.org/licenses/mit-license.php The MIT License
7
*/
8
namespace s9e\TextFormatter\Configurator\Items\AttributeFilters;
9
10
use s9e\TextFormatter\Configurator\Items\AttributeFilter;
11
12
class TimestampFilter extends AttributeFilter
13
{
14
	/**
15
	* Constructor
16
	*/
17
	public function __construct()
18
	{
19
		parent::__construct('s9e\\TextFormatter\\Parser\\AttributeFilters\\TimestampFilter::filter');
20
		$this->setJS('TimestampFilter.filter');
21
	}
22
}