readResourceDirectories()
Overview
public struct function readResourceDirectories(
required array directories
)
Scans passed directories for resources and returns prepared arrays of resource metadata, grouped by API, that the platform can use to route REST requests
Arguments
Name | Type | Required | Description |
---|---|---|---|
directories | array | Yes | array of mapped directory paths |