SpecializedFormatter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 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