final class ApiConfigResolver (View source)

Merges ordered API definitions into one normalized immutable runtime configuration.

Methods

resolve(ApiConfigDefinition ...$definitions)

Applies definitions in order while retaining framework defaults only for omitted values.

Details

resolve

ApiConfig resolve(ApiConfigDefinition ...$definitions)

Applies definitions in order while retaining framework defaults only for omitted values.

Parameters

ApiConfigDefinition ...$definitions

Return Value

ApiConfig

Exceptions

LogicException