| Total Complexity | 4 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | abstract class AbstractAttributeItem extends Item implements AttributeItem |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string|null |
||
| 11 | */ |
||
| 12 | protected $fixed; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string|null |
||
| 16 | */ |
||
| 17 | protected $default; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return string|null |
||
| 21 | */ |
||
| 22 | public function getFixed() |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $fixed |
||
| 29 | * |
||
| 30 | * @return $this |
||
| 31 | */ |
||
| 32 | public function setFixed($fixed) |
||
| 33 | { |
||
| 34 | $this->fixed = $fixed; |
||
| 35 | |||
| 36 | return $this; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string|null |
||
| 41 | */ |
||
| 42 | public function getDefault() |
||
| 43 | { |
||
| 44 | return $this->default; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param string $default |
||
| 49 | * |
||
| 50 | * @return $this |
||
| 51 | */ |
||
| 52 | public function setDefault($default) |
||
| 57 | } |
||
| 58 | } |
||
| 59 |