VatIdNoProviderTrait   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 34
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getVatIdNo() 0 4 1
A getTaxNo() 0 4 1
1
<?php
2
namespace Germania\VatIdNo;
3
4
trait VatIdNoProviderTrait
5
{
6
7
    /**
8
     * VAT ID number
9
     * @var string
10
     */
11
    public $vatin;
12
13
14
    /**
15
     * tax number
16
     * @var string
17
     */
18
    public $taxno;
19
20
21
    /**
22
     * @inheritdoc
23
     */
24 12
    public function getVatIdNo()
25
    {
26 12
        return $this->vatin;
27
    }
28
29
30
    /**
31
     * @inheritdoc
32
     */
33 12
    public function getTaxNo()
34
    {
35 12
        return $this->taxno;
36
    }
37
}
38