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 |
||
53 | |||
54 | /** |
||
55 | * @param string|object $classNameOrInstance |
||
56 | * |
||
57 | * @return string |
||
58 | */ |
||
59 | protected static function normalizeClassName($classNameOrInstance): string |
||
69 | |||
70 | protected static function getCachedDocBlock(Route $route, string $className, string $methodName) |
||
76 | |||
77 | protected static function cacheDocBlocks(Route $route, string $className, string $methodName, array $docBlocks) |
||
82 | |||
83 | private static function getRouteCacheId(Route $route, string $className, string $methodName): string |
||
91 | } |
||
92 |
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.