| Total Complexity | 2 | 
| Total Lines | 27 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 20 | final class DocblockAnnotationParser  | 
            ||
| 21 | { | 
            ||
| 22 | private $docblockParser;  | 
            ||
| 23 | private $annotationDumper;  | 
            ||
| 24 | private $ignored;  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * @param string[] $ignored  | 
            ||
| 28 | */  | 
            ||
| 29 | public function __construct(DocblockParser $docblockParser, AnnotationDumper $annotationDumper, array $ignored)  | 
            ||
| 30 |     { | 
            ||
| 31 | $this->docblockParser = $docblockParser;  | 
            ||
| 32 | $this->annotationDumper = $annotationDumper;  | 
            ||
| 33 | $this->ignored = $ignored;  | 
            ||
| 34 | }  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * @throws InvalidDocblock  | 
            ||
| 38 | * @throws InvalidToken  | 
            ||
| 39 | *  | 
            ||
| 40 | * @return string[] Parsed compacted annotations parsed from the docblock  | 
            ||
| 41 | */  | 
            ||
| 42 | public function parse(string $docblock): array  | 
            ||
| 47 | );  | 
            ||
| 48 | }  | 
            ||
| 50 |