EdgeArraySetFactory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A createEdgeSet() 0 3 1
1
<?php
2
3
namespace Graphp\Edge;
4
5
use Graphp\Vertex\VertexInterface;
6
7
/**
8
 * Class EdgeArraySetFactory
9
 *
10
 * @package Graphp\Edge
11
 */
12
class EdgeArraySetFactory implements EdgeSetFactoryInterface
13
{
14
    /**
15
     * Create a new edge set for a particular vertex
16
     *
17
     * @param VertexInterface $sourceVertex - the vertex for which the edge set is being created
18
     */
19 37
    public function createEdgeSet(VertexInterface $vertex): EdgeSet
20
    {
21 37
        return new EdgeSet();
22
    }
23
}
24