InvalidEdgeOnDependencyGraphException   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace DependencyAnalyzer\Exceptions;
5
6
use Fhaculty\Graph\Edge\Directed;
7
8
class InvalidEdgeOnDependencyGraphException extends RuntimeException
9
{
10
    /**
11
     * @var Directed
12
     */
13
    private $edge;
14
15
    public function __construct(Directed $edge, $message = '', $code = 0, \Throwable $previous = null)
16
    {
17
        parent::__construct($message, $code, $previous);
18
        $this->edge = $edge;
19
    }
20
}
21