Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 71.43% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
4 | trait SchemaItemTrait |
||
5 | { |
||
6 | /** |
||
7 | * @var Schema |
||
8 | */ |
||
9 | protected $schema; |
||
10 | |||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | protected $doc = ''; |
||
15 | |||
16 | /** |
||
17 | * @return Schema |
||
18 | */ |
||
19 | 135 | public function getSchema() |
|
20 | { |
||
21 | 135 | return $this->schema; |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getDoc() |
||
28 | { |
||
29 | return $this->doc; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @param string $doc |
||
34 | * |
||
35 | * @return $this |
||
36 | */ |
||
37 | 135 | public function setDoc($doc) |
|
41 | } |
||
42 | } |
||
43 |