BootContext
final class BootContext (View source)
What Kernel::boot() built for this process: the configuration, the logger, the loaded module registry and, once something asks for it, the database.
Methods
No description
The process's one database connection, opened from the configured credentials the first time it is asked for.
Why the configured backend may not use this database, or null; checked once per process.
The per-request service graph over this context, acting as the given actor.
Details
__construct(ConfigurationInterface $config, LoggerInterface $logger, ModuleRegistry $moduleRegistry, SessionInterface $session, PDO|null $db = null)
No description
PDO
database()
The process's one database connection, opened from the configured credentials the first time it is asked for.
string|null
backendRefusal()
Why the configured backend may not use this database, or null; checked once per process.
The SQL backend refuses a database the API backend has written zone ids to (see BackendModeMarker).
ControllerServiceFactory
services(ActorInterface $actor)
The per-request service graph over this context, acting as the given actor.