1 | <?php |
||
9 | class RouteDocBlocker |
||
10 | { |
||
11 | protected static $docBlocks = []; |
||
12 | |||
13 | /** |
||
14 | * @param Route $route |
||
15 | * |
||
16 | * @throws \ReflectionException |
||
17 | * |
||
18 | * @return array<string, DocBlock> Method and class docblocks |
||
|
|||
19 | */ |
||
20 | public static function getDocBlocksFromRoute(Route $route): array |
||
42 | |||
43 | protected static function getCachedDocBlock(Route $route, string $className, string $methodName) |
||
49 | |||
50 | protected static function cacheDocBlocks(Route $route, string $className, string $methodName, array $docBlocks) |
||
55 | |||
56 | private static function getRouteCacheId(Route $route, string $className, string $methodName): string |
||
64 | } |
||
65 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.