Completed
Push — master ( da8fcc...d64df6 )
by Asmir
02:56
created

Base   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 20
ccs 5
cts 5
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getBase() 0 4 1
A setBase() 0 5 1
1
<?php
2
namespace GoetasWebservices\XML\XSDReader\Schema\Inheritance;
3
4
use GoetasWebservices\XML\XSDReader\Schema\Type\Type;
5
6
abstract class Base
7
{
8
9
    /**
10
     *
11
     * @var Type
12
     */
13
    protected $base;
14
15 7
    public function getBase()
16
    {
17 7
        return $this->base;
18
    }
19
20 39
    public function setBase(Type $base)
21
    {
22 39
        $this->base = $base;
23 39
        return $this;
24
    }
25
}