Expand description
Bundle composition helpers for Serenade applications.
Provides Extension, FrameworkBundle, and build_container so apps
can wire router, config, and the event dispatcher the same way Symfony apps
load FrameworkBundle.
Structs§
- Bundle
Registry - Holds bundles until the kernel compiles them.
- Framework
Bundle - Core Serenade bundle: wires router and participates in container compile.
- Framework
Extension - DI extension for the
frameworkpackage key.
Enums§
- Bundle
Error - Failure while loading extensions or compiling the framework container.
Constants§
- COMMAND_
TAG - Service tag applied to console command definitions.
- CONFIG_
SERVICE - Service id for the merged root
Configsnapshot. - CONSOLE_
APPLICATION_ SERVICE - Container id of the compiled
Application. - FRAMEWORK_
BUNDLE - Canonical name for
FrameworkBundle. - ROUTER_
SERVICE - Service id for the shared
RouteCollection.
Traits§
- Bundle
- Alias for
BundleInterface(SymfonyBundlenaming habit). Composition unit registered on aKernel. - Bundle
Interface - Composition unit registered on a
Kernel. - Extension
- Loads package config for one alias into a
ContainerBuilder.
Functions§
- build_
container - Loads
config/packages(plus{environment}/overlay), runsextensions, and compiles. - version
- Compile-time crate version for diagnostics.