Skip to content

v2.0.0

tagged this 29 May 05:54
Phase 2/3 of #138. Clean cutover of all consumers to the new API:

- Configurations/resolvers/traits: share->singleton, share($obj)->instance,
  delegate->factory, define(:dsl)->bind()->withParameters(), prepare->extend,
  defineParameter->value, isset->has; chained registrations split into
  statements (new registration methods return a Definition, not the container).
- Aliases pointing at factory-/parameter-bound concretes replaced with
  delegating factories (alias resolves the target's concrete directly).
- Resolvers (Filter/Rule) and the Session PDO adapter trait now pass
  name-keyed make() parameter arrays.
- InjectionException -> ContainerException across resolvers + ConfigurationInterface.
- Introspection/Tinker readers (ContainerInspector, ConfigInspector,
  ContainerCaster) rewritten against getDefinitions()/getRealisedSingletons().

phpstan L8 / cs / rector all clean cache-free; full suite green except the
pre-existing ext-mongodb-only errors.
Assets 2
Loading