friends-of-behat / cross-container-extension
Makes possible to inject services and parameters from other containers.
Installs: 531 469
Dependents: 60
Suggesters: 3
Security: 0
Stars: 98
Watchers: 4
Forks: 6
Open Issues: 0
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.