(filePath: string, content: string)
| 321 | }, |
| 322 | |
| 323 | extract(filePath: string, content: string): { nodes: Node[]; references: UnresolvedRef[] } { |
| 324 | const routes = ROUTES_FILE.test(filePath); |
| 325 | const baseUrl = routes ? null : controllerUrl(filePath); |
| 326 | if (!routes && baseUrl === null) return { nodes: [], references: [] }; |
| 327 | const safe = stripCommentsForRegex(content, 'php'); |
| 328 | return routes ? explicitRoutes(filePath, safe) : conventionRoutes(filePath, baseUrl!, safe); |
| 329 | }, |
| 330 | }; |
nothing calls this directly
no test coverage detected