| Total Complexity | 4 | 
| Total Lines | 33 | 
| Duplicated Lines | 0 % | 
| Coverage | 81.82% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 7 | abstract class AbstractNamedGroupItem | ||
| 8 | { | ||
| 9 | use NamedItemTrait; | ||
| 10 | |||
| 11 | /** | ||
| 12 | * @var Schema | ||
| 13 | */ | ||
| 14 | protected $schema; | ||
| 15 | |||
| 16 | /** | ||
| 17 | * @var string|null | ||
| 18 | */ | ||
| 19 | protected $doc; | ||
| 20 | |||
| 21 | 74 | public function __construct(Schema $schema, string $name) | |
| 22 |     { | ||
| 23 | 74 | $this->schema = $schema; | |
| 24 | 74 | $this->name = $name; | |
| 25 | 74 | } | |
| 26 | |||
| 27 | public function getDoc(): ?string | ||
| 30 | } | ||
| 31 | |||
| 32 | 74 | public function setDoc(string $doc): void | |
| 33 |     { | ||
| 34 | 74 | $this->doc = $doc; | |
| 35 | 74 | } | |
| 36 | |||
| 37 | 74 | public function getSchema(): Schema | |
| 40 | } | ||
| 41 | } | ||
| 42 |