| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait SchemaItemTrait |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Schema |
||
| 11 | */ |
||
| 12 | protected $schema; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $doc = ''; |
||
| 18 | |||
| 19 | 58 | public function getSchema(): Schema |
|
| 22 | } |
||
| 23 | |||
| 24 | 2 | public function getDoc(): string |
|
| 25 | { |
||
| 26 | 2 | return $this->doc; |
|
| 27 | } |
||
| 28 | |||
| 29 | 58 | public function setDoc(string $doc): void |
|
| 32 | 58 | } |
|
| 33 | } |
||
| 34 |