Releases: hultberg/hbcontainer
Releases · hultberg/hbcontainer
v6.1.0
v2.1.1
v2.1.0
v2.0.0
- Implement compiling container with all defined definitions
- Rename helper function
\HbLib\Container\get
to\HbLib\Container\resolve
- Add new definition
Reference
, use it to reference other definitions. A helper function has been added for it:\HbLib\Container\reference
- Add new
DefinitionSource
object to hold all definitions. - Add new
ContainerBuilder
. It allows you to enable compiling. - Implement circular dependency resolving checking
v1.6.3
v1.6.2
v1.6.1
v1.6.0
- Bug: Argument resolver did not resolve Definitions
- DefinitionClass now does not require a class name. When not specified, the container will find the class being resolved with the definition and use it. This allows us to write (in definition array): MyClass::class => get() and not MyClass::class => get(MyClass::class)
- Add interface InvokerInterface for method call
- Add interface ArgumentResolverInterface for the method resolveArguments()
- Internal refactoring and code splitting.