Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 1.56 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.56 KB

Cross Container Extension License Version Build status on Linux Scrutinizer Quality Score

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.