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

AnalyzedFileException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 4
dl 0
loc 4
rs 10
c 0
b 0
f 0
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