AttributeDef::setFixed()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
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\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