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.

Maintainers

👁 Stof
👁 pamil

Package info

github.com/FriendsOfBehat/CrossContainerExtension

pkg:composer/friends-of-behat/cross-container-extension

Statistics

Installs: 544 023

Dependents: 58

Suggesters: 3

Stars: 98

Open Issues: 0

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

Requires

Suggests

Provides

None

Conflicts

None

Replaces

None

MIT 97c376c450c46d2af7d440464f490b914da0dc89

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.