This PR changes method argument injection: to inject arguments from store to method declaration, this annotation must be used, otherwise arguments won't be injected.
/**
* @ScenarioStateArgument("scenarioBanana")
*/
public function foo($scenarioBanana)
{
// ...
}
/**
* @ScenarioStateArgument(name="scenarioBanana")
*/
public function foo($scenarioBanana)
{
// ...
}
/**
* @ScenarioStateArgument(name="scenarioBanana", argument="banana")
*/
public function foo($banana)
{
// ...
}
Fix #7 & #12
This PR changes method argument injection: to inject arguments from store to method declaration, this annotation must be used, otherwise arguments won't be injected.