laminas-servicemanager
laminas-servicemanager copied to clipboard
Factory-Driven Dependency Injection Container
The documentation states that a factory stored in a class would implement FactoryInterface but it doesn't reference which one. In ZF3 there still exists the ZF2 FactoryInterface which requires a...
This patch adds a new tool, `create-factory-map`, which will map a given class to a given factory in the specified configuration file, under the provided configuration key (defaulting to `service_manager`)....
It might be a good idea to demonstrate in the documentation a migration path from this abstract factory to an explicit factory. One of the frequent comments I've seen from...
### Bug Report | Q | A |------------ | ------ | Version(s) | 3.17.0 #### Summary When calling `\Laminas\ServiceManager\ServiceManager::setFactory` the `@psalm-param` [declaration](https://github.com/laminas/laminas-servicemanager/blob/a54c36e6fd81ba10c94f123e307c4cefd94b1d72/src/ServiceManager.php#L401) of the `$factory` param requires that the `class-string`...
See https://github.com/laminas/laminas-form/pull/193#discussion_r995622387 A test shold be added to ensure that Factories, Abstract Factories, Delegators, Initializers, Services and so on work well with alias and aliased references when an alias is...
This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest...
The documentation for Reflection Abstract Factory has been updated to improve the clarity and flow of the information. The changes include rewording for better understanding, reordering of sections for better...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [symfony/console](https://symfony.com) ([source](https://redirect.github.com/symfony/console)) | `^6.0` -> `^7.0` | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [psalm/plugin-phpunit](https://redirect.github.com/psalm/psalm-plugin-phpunit) | `^0.18.4` -> `^0.19.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
### Bug Report | Q | A |------------ | ------ | Version(s) | 3.22.1, 4.0.0* #### Summary There is a lack of infinite recursion detection for both `get` and `has`...