Skip to content

Compiler

Everything under Quiote\Middleware\Compiler.

ClassDescription
MiddlewareAttributeScannerReflects a list of candidate classes for #[Middleware] attributes and builds the MiddlewareDefinitions that MiddlewareOrderResolver sorts into a pipeline order.
MiddlewareDefinitionThe scanned contents of one #[Middleware] attribute, plus the class it was found on and where it was discovered — mirrors Quiote\Routing\Compiler\RouteDefinition’s role for #[Route].
MiddlewareOrderExceptionThrown by MiddlewareOrderResolver when a #[Middleware] ordering constraint cannot be honoured and there is no safe fallback: either the before/after constraints form a cycle, or a guarded (framework) middleware’s constraint names something that isn’t there.
MiddlewareOrderResolverTurns scanned MiddlewareDefinitions into a single pipeline order.
MiddlewarePhaseCanonical ordering of the phase values accepted by Quiote\Middleware\Attribute\Middleware.