Passed
Push — master ( 1fb040...5fddea )
by Satoshi
02:25
created

Base   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 23
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getFqsen() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace DependencyAnalyzer\DependencyGraph\ExtraPhpDocTags;
5
6
use DependencyAnalyzer\DependencyGraph\FullyQualifiedStructuralElementName\Base as FQSEN;
7
8
abstract class Base
9
{
10
    /**
11
     * @var FQSEN
12
     */
13
    protected $fqsen;
14
15
    /**
16
     * @param FQSEN $fqsen
17
     * @deps-internal \DependencyAnalyzer\DependencyGraphBuilder\ExtraPhpDocTagResolver
18
     * @deps-internal \DependencyAnalyzer\DependencyGraph\ExtraPhpDocTags\
19
     */
20
    public function __construct(FQSEN $fqsen)
21
    {
22
        $this->fqsen = $fqsen;
23
    }
24
25
    public function getFqsen(): FQSEN
26
    {
27
        return $this->fqsen;
28
    }
29
30
    abstract public static function getTagName(): string;
31
}
32