| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function parse(string $comment, string $context): Annotations |
||
| 46 | { |
||
| 47 | // compatibility with UUID annotation from TDBM 5.0 |
||
| 48 | $comment = \str_replace(['@UUID v1', '@UUID v4'], ['@UUID("v1")', '@UUID("v4")'], $comment); |
||
| 49 | |||
| 50 | // TODO: add context (table name...) |
||
| 51 | $annotations = $this->docParser->parse($comment, $context); |
||
| 52 | |||
| 53 | return new Annotations($annotations); |
||
| 54 | } |
||
| 56 |