1 | <?php |
||
15 | class RouteDocBlocker |
||
16 | { |
||
17 | protected static $docBlocks = []; |
||
18 | |||
19 | /** |
||
20 | * @param Route $route |
||
21 | * |
||
22 | * @throws \ReflectionException |
||
23 | * @throws \Exception |
||
24 | * |
||
25 | * @return array<string, DocBlock> Method and class docblocks |
||
|
|||
26 | */ |
||
27 | public static function getDocBlocksFromRoute(Route $route): array |
||
49 | |||
50 | protected static function getCachedDocBlock(Route $route, string $className, string $methodName) |
||
56 | |||
57 | protected static function cacheDocBlocks(Route $route, string $className, string $methodName, array $docBlocks) |
||
62 | |||
63 | private static function getRouteCacheId(Route $route, string $className, string $methodName): string |
||
71 | } |
||
72 |
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.