Base::setBase()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 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
}