Skip to content

Function: parseIndexPhp() ​

parseIndexPhp(content, availableActionFiles): ContentTypeInfo[]

Defined in: cli/redcap-openapi/src/core/parsers/index-php.ts:16

Parse index.php content to extract content types and routing

Parameters ​

content ​

string

Raw PHP source code of index.php

availableActionFiles ​

Map<string, string[]>

Map of content type to available action file names

Returns ​

ContentTypeInfo[]

Array of content type information