AttributeDef   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 4
c 1
b 0
f 0
cbo 1
dl 0
loc 29
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getFixed() 0 4 1
A setFixed() 0 5 1
A getDefault() 0 4 1
A setDefault() 0 5 1
1
<?php
2
namespace Goetas\XML\XSDReader\Schema\Attribute;
3
4
use Goetas\XML\XSDReader\Schema\Item;
5
6
class AttributeDef extends Item implements AttributeItem
7
{
8
9
    protected $fixed;
10
11
    protected $default;
12
13
    public function getFixed()
14
    {
15
        return $this->fixed;
16
    }
17
18
    public function setFixed($fixed)
19
    {
20
        $this->fixed = $fixed;
21
        return $this;
22
    }
23
24
    public function getDefault()
25
    {
26
        return $this->default;
27
    }
28
29
    public function setDefault($default)
30
    {
31
        $this->default = $default;
32
        return $this;
33
    }
34
}
35