Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Paul M. Jones
committed
Sep 3, 2014
1 parent
b25a961
commit 905b183
Showing
2 changed files
with
8 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,13 @@ | ||
Initial 2.0 beta release. | ||
Second beta release. | ||
|
||
- _Container_ v1 configurations should still work, with one exception: the `lazyCall()` method has been removed in favor of just `lazy()`. Replace `lazyCall()` with `lazy()` and all should be well. | ||
- REF: Extract object creation from Container into Factory | ||
|
||
- Now compatible with PHP 5.3. | ||
- DOC: Complete README rewrite, update docblocks | ||
|
||
- Uses PSR-4 autoloading instead of PSR-0. | ||
- ADD: The Factory now supports setters from traits. | ||
|
||
- The package now has a series of _Lazy_ classes to represent different types of lazy behaviors, instead of using anonymous functions. | ||
- ADD: LazyValue functionality. | ||
|
||
- No more cloning of _Container_ objects; that was a holdover from when we had sub-containers very early in v1 and never really used. | ||
- ADD: Auto-resolution of typehinted constructor parameters, and of array typehints with no default value, along with directed auto-resolution. | ||
|
||
- Removed _Forge_ and placed functionality into _Container_. | ||
|
||
- Removed the old _Config_ object; `$params` and `$setter` are now properties on the Container. | ||
|
||
- No more top-level '*' config element. | ||
|
||
- Renamed _Container_ `getServices()` to `getInstances()`. | ||
|
||
- Renamed _Container_ `getDefs()` to `getServices()`. | ||
|
||
- Added _ContainerBuilder_ and new _Config_ object for two-stage configuration. | ||
|
||
- Now honors $setter values on interface configuration; that is, you can configure a setter on an interface, and classes implementing that interface will honor that value unless overridden by a class parent. | ||
|
||
Thanks to HariKT, Damien Patou, Jesse Donat, jvb, and Grummfy for their contributions leading to this release! | ||
- ADD: ContainerAssertionsTrait so that outehr packages can more easily test their container config classes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters