Compiler
Everything under Quiote\Middleware\Compiler.
Classes
Section titled “Classes”| Class | Description |
|---|---|
MiddlewareAttributeScanner | Reflects a list of candidate classes for #[Middleware] attributes and builds the MiddlewareDefinitions that MiddlewareOrderResolver sorts into a pipeline order. |
MiddlewareDefinition | The 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]. |
MiddlewareOrderException | Thrown 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. |
MiddlewareOrderResolver | Turns scanned MiddlewareDefinitions into a single pipeline order. |
MiddlewarePhase | Canonical ordering of the phase values accepted by Quiote\Middleware\Attribute\Middleware. |