Passed
Push — master ( 65484c...fedbc6 )
by Satoshi
02:08
created

AnalyzedFileException   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getAnalyzedFile() 0 3 1
A __construct() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace DependencyAnalyzer\Exceptions;
5
6
class AnalyzedFileException extends Base
7
{
8
    private $analyzedFile;
9
10
    public function __construct(string $analyzedFile, $message = '', $code = 0, \Throwable $previous = null)
11
    {
12
        parent::__construct($message, $code, $previous);
13
        $this->analyzedFile = $analyzedFile;
14
    }
15
16
    public function getAnalyzedFile()
17
    {
18
        return $this->analyzedFile;
19
    }
20
}
21