FrameworkHealthConfigSnapshot
final class FrameworkHealthConfigSnapshot (View source)
Carries the immutable configuration subset required by the pre-bootstrap health fast path.
Methods
Captures resolved API, application and CORS policies as one atomic snapshot.
cors()
Returns the optional CORS policy applied to the fast-path response.
CorsConfig|null
Details
__construct
__construct(ApiConfig $api, AppConfig $app, CorsConfig|null $cors)
Captures resolved API, application and CORS policies as one atomic snapshot.
api
ApiConfig
api()
Returns the resolved API policy used to match and authorize the health endpoint.