Completed
Push — master ( fef961...cb7bad )
by Thomas
01:47
created

SpecializedFormatter::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 5
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 4
crap 1
1
<?php
2
namespace gossi\formatter\formatters;
3
4
use gossi\code\profiles\Profile;
5
use gossi\formatter\parser\Parser;
6
use gossi\formatter\utils\Writer;
7
8
class SpecializedFormatter extends BaseFormatter {
9
10
	/** @var DefaultFormatter */
11
	protected $defaultFormatter;
12
13 2
	public function __construct(Parser $parser, Profile $profile, Writer $writer, DefaultFormatter $default) {
14 2
		parent::__construct($parser, $profile, $writer);
15
16 2
		$this->defaultFormatter = $default;
17 2
	}
18
19
}
20