Spec
How a part of the system works today. Unlike a proposal, a spec page is edited: it describes the present, and goes stale rather than obsolete.
Current
3 · describes the present
config
Configuration
Configuration is read from TOML files into a single configuration tree, which
hydrates typed configuration objects held in an immutable
catalogue. Environment v...
container
Container
The dependency injection container constructs objects and supplies their dependencies. A class is resolved from a
binding, or automatically from its constructor...
values
Values
Type-coerced access to values held in an array, keyed by name. ValueGetter provides it as static methods, and
GetsAsType is the contract an object implements to...
Stale
3 · the record has moved on from what these describe
database
Database
Database access is built directly on PDO, per ADR-0008. Any
number of named connections are configured, one of them is the
primary connection, and a connection...
query-builder
Query builder
Each query is built as an object that produces its own SQL and the values bound to it. A builder
knows nothing of the connection it runs against, and a connecti...
schema
Schema builder
Schema changes are built as objects that produce their own SQL, alongside the query builder, and are
executed through a connection like any other statement, per...