Skip to content

Releases: ghostwriter/container

3.0.0

06 Feb 18:03
72f9edf
Compare
Choose a tag to compare

Added

  • Method invoke() was added to interface Ghostwriter\Container\Interface\ContainerInterface

Changed

  • The number of required arguments for Ghostwriter\Container\Instantiator#__construct() increased from 0 to 2
  • Parameter $reflector of Ghostwriter\Container\Instantiator#construct() was added
  • Parameter $parameterBuilder of Ghostwriter\Container\Instantiator#construct() was added
  • Parameter $container of Ghostwriter\Container\ParameterBuilder#construct() was added

Fixed

  • ParameterBuilder resolves positional arguments

Removed

  • Method Ghostwriter\Container\Instantiator#buildParameters() was removed
  • Parameter $container of Ghostwriter\Container\Instantiator#instantiate() was removed
  • Parameter $container of Ghostwriter\Container\ParameterBuilder#build() was removed

Full Changelog: 2.0.1...3.0.0

2.0.1

15 Nov 16:26
734509e
Compare
Choose a tag to compare
  • Add factory to register a service factory
  • Build resolves aliases
  • ParameterBuilder resolves default/nullable values from the container
  • Extend supports service name and service type

Full Changelog: 2.0.0...2.0.1

2.0.0

12 Nov 22:58
b456318
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.6.0...2.0.0

1.6.0

26 Jul 13:27
22e64b7
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.0...1.6.0

1.5.0

08 Apr 17:00
6ff9f6c
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.4.0...1.5.0

1.4.0

21 Mar 13:25
d708850
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.3.0...1.4.0

1.3.0

17 Jan 05:00
039a042
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.2.0...1.3.0

1.2.0

21 Dec 14:11
d661b16
Compare
Choose a tag to compare

Full Changelog: 1.1.1...1.2.0

1.1.1

10 Dec 03:58
dff67ca
Compare
Choose a tag to compare

Full Changelog: 1.1.0...1.1.1

1.1.0

26 Nov 20:47
9e01881
Compare
Choose a tag to compare

Full Changelog: 1.0.0...1.1.0