Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

ServiceManager config support #7

Closed
wants to merge 3 commits into from
Closed

ServiceManager config support #7

wants to merge 3 commits into from

Conversation

michalbundyra
Copy link
Member

Using external library with common test to deliver the same functionality for specific service manager configuration keys.

For now we test only:

  • aliases
  • invokables
  • factories

TODO:

  • services (implemented, check if behaviour is the same as in ServiceManager)
  • delegators (implemented, check if behaviour is the same as in ServiceManager)
  • abstract_factories (we need decide if we'd like to support them)
  • initializers (we need decide if we'd like to support them)
  • lazy_services (we need decide if we'd like to support them)
  • shared - AuraDi does not have ability to support non-shared services
  • shared_by_default - AuraDi does not have ability to support non-shared services

We need provide invokables as associative array with keys and values.
Key is usually the same as service name, if it is not, the alias is
created.

The same behaviour we have in zend-servicemanager.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants