Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | trait TypedAttribute |
||
13 | { |
||
14 | /** |
||
15 | * Attribute type. |
||
16 | * |
||
17 | * @var AttributeType |
||
18 | */ |
||
19 | protected $_type; |
||
20 | |||
21 | /** |
||
22 | * Get attribute type. |
||
23 | * |
||
24 | * @return AttributeType |
||
25 | */ |
||
26 | 1 | public function type(): AttributeType |
|
27 | { |
||
28 | 1 | return $this->_type; |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * Get OID of the attribute. |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | 39 | public function oid(): string |
|
39 | } |
||
40 | } |
||
41 |