| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 9 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 42 | protected function loadAnnotation($class) | ||
| 43 |     { | ||
| 44 | $annotationClass = TaskTypeAnnotation::class; | ||
| 45 | |||
| 46 | $classReflection = new \ReflectionClass($class); | ||
| 47 | /** @var TaskTypeAnnotation $annotation */ | ||
| 48 | $annotation = $this->annotationReader->getClassAnnotation($classReflection, $annotationClass); | ||
| 49 | return $annotation; | ||
| 50 | } | ||
| 51 | } |