| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | trait AttributeTrait |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Get the metadata from a given class |
||
| 17 | * |
||
| 18 | * @param ReflectionClass|string $xClass |
||
| 19 | * @param array $aMethods |
||
| 20 | * @param array $aProperties |
||
| 21 | * |
||
| 22 | * @return Metadata|null |
||
| 23 | */ |
||
| 24 | public function getAttributes(ReflectionClass|string $xClass, |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param ReflectionClass $xClass |
||
| 34 | * |
||
| 35 | * @return ComponentOptions |
||
| 36 | */ |
||
| 37 | public function getOptions(ReflectionClass $xClass): ComponentOptions |
||
| 49 |