Conditions | 2 |
Paths | 4 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
52 | public function getMethodTagValues(string $className, string $methodName) |
||
53 | { |
||
54 | try { |
||
55 | $coreReflectionService = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Reflection\ReflectionService::class); |
||
56 | $classSchema = $coreReflectionService->getClassSchema($className); |
||
57 | return $classSchema->getMethod($methodName)['tags'] ?? []; |
||
58 | } catch (\Exception $e) { |
||
59 | return false; |
||
60 | } |
||
61 | } |
||
62 | |||
64 |