friends-of-behat/cross-container-extension

Makes possible to inject services and parameters from other containers.

v1.1.0 2018-02-13 17:55 UTC

README

Makes possible to inject services and parameters from other containers.

Usage

  1. Install it:

    $ composer require friends-of-behat/cross-container-extension --dev
  2. Enable this extension and configure Behat to use it:

    # behat.yml
    default:
        # ...
        extensions:
            FriendsOfBehat\CrossContainerExtension: ~
  3. Use it together with FriendsOfBehat\ContextServiceExtension or FriendsOfBehat\ServiceContainerExtension.