You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KernelAwareContext injects entire application into your context, which in most cases is not what you want. You'd usually want couple of services injected into the context constructor instead of the entire container.
KernelAwareContext
injects entire application into your context, which in most cases is not what you want. You'd usually want couple of services injected into the context constructor instead of the entire container.Behat 3 has the extension point called context
ArgumentResolver
:https://github.com/Behat/Behat/blob/master/src/Behat/Behat/Context/Argument/ArgumentResolver.php
By implementing this extension point you could hook Behat into Laravel, so that it would automatically inject services from the container using the argument typehints, for example. Here's how we do it in Symfony extension:
https://github.com/Behat/Symfony2Extension/blob/master/src/Behat/Symfony2Extension/Context/Argument/ServiceArgumentResolver.php
The text was updated successfully, but these errors were encountered: