| Total Complexity | 5 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class SummaryStats |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var int |
||
| 13 | */ |
||
| 14 | private $latestAnalysisResultsCount; |
||
| 15 | /** |
||
| 16 | * @var int |
||
| 17 | */ |
||
| 18 | private $baseLineCount; |
||
| 19 | /** |
||
| 20 | * @var Identifier |
||
| 21 | */ |
||
| 22 | private $resultsParser; |
||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $historyAnalyserName; |
||
| 27 | |||
| 28 | public function __construct( |
||
| 29 | int $latestAnalysisResultsCount, |
||
| 30 | int $baseLineCount, |
||
| 31 | Identifier $resultsParser, |
||
| 32 | string $historyAnalyserName |
||
| 33 | ) { |
||
| 34 | $this->latestAnalysisResultsCount = $latestAnalysisResultsCount; |
||
| 35 | $this->baseLineCount = $baseLineCount; |
||
| 36 | $this->resultsParser = $resultsParser; |
||
| 37 | $this->historyAnalyserName = $historyAnalyserName; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getLatestAnalysisResultsCount(): int |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getBaseLineCount(): int |
||
| 46 | { |
||
| 47 | return $this->baseLineCount; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function getResultsParser(): Identifier |
||
| 51 | { |
||
| 52 | return $this->resultsParser; |
||
| 53 | } |
||
| 54 | |||
| 55 | public function getHistoryAnalyserName(): string |
||
| 58 | } |
||
| 59 | } |
||
| 60 |