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.
-
Install it:
$ composer require friends-of-behat/cross-container-extension --dev
-
Enable this extension and configure Behat to use it:
# behat.yml default: # ... extensions: FriendsOfBehat\CrossContainerExtension: ~
-
Use it together with FriendsOfBehat\ContextServiceExtension or FriendsOfBehat\ServiceContainerExtension.