| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 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 | public function getSchema() |
||
| 20 | { |
||
| 21 | 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 | public function setDoc($doc) |
||
| 41 | } |
||
| 42 | } |
||
| 43 |