Base   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 2
c 2
b 0
f 0
cbo 0
dl 0
loc 20
rs 10

2 Methods

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