friends-of-behat/cross-container-extension

This package is abandoned and no longer maintained. The author suggests using the friends-of-behat/symfony-extension package instead.

Makes possible to inject services and parameters from other containers.

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

This package is auto-updated.

Last update: 2022-02-01 13:02:25 UTC


README

Makes possible to inject services and parameters from other containers.

This library is deprecated! It will not be supported anymore - if you're using it with ContextServiceExtension v1 and SymfonyExtension v1, please consider an upgrade to SymfonyExtension v2.

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.