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.
Package info
github.com/FriendsOfBehat/CrossContainerExtension
pkg:composer/friends-of-behat/cross-container-extension
v1.1.0
2018-02-13 17:55 UTC
Requires
- php: ^7.1
- behat/behat: ^3.1
- symfony/dependency-injection: ^3.3|^4.0
Requires (Dev)
- friends-of-behat/test-context: ^1.0
- phpspec/phpspec: ^4.0
- phpunit/phpunit: ^6.0
- symfony/http-kernel: ^3.3|^4.0
Suggests
- symfony/http-kernel: ^3.3|^4.0
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
-
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.