| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | interface ClassMetadata |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Get the class name as a string |
||
| 22 | * |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | public function getName(): string; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Get all class annotations |
||
| 29 | * |
||
| 30 | * @return AnnotationSet |
||
| 31 | */ |
||
| 32 | public function getAnnotations(): AnnotationSet; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get a specific annotation by class name, returns null if the annotation |
||
| 36 | * doesn't exist. |
||
| 37 | * |
||
| 38 | * @param string $annotationClass |
||
| 39 | * @return null|object |
||
| 40 | */ |
||
| 41 | public function getAnnotation(string $annotationClass); |
||
| 42 | } |
||
| 43 |