Skip to content

v0.8.1

Choose a tag to compare

@embluk embluk released this 28 Jul 15:40
· 19 commits to master since this release

Changed

  • Some internal code formatting and changed a missing return type for a function inside the dependency container

Fixed

  • Fixed an issue where creating a new class from the main DI container would return null because, the function that
    resolved class dependencies won't resolve a new one if the class already exists within the main container array.
    This is a problem when you call Polyel::new(...) and want a new class instance which doesn't get stored in the
    main container. Usually this is not a problem, but it fails to create a new class if it already exists. The solution
    was to allow new classes to be created no matter what if the parameter $returnClassOnly is set to true.