src/Behat/Behat/HelperContainer/Call/Filter/ServicesResolver.php
public function filterCall(Call $call)
    {
        if ($container = $this->getContainer($call)) {
            $autowirer = new ArgumentAutowirer($container);
            $newArguments = $autowirer->autowireArguments($call->getCallee()->getReflection(), $call->getArguments());

            return $this->repackageCallIfNewArguments($call, $newArguments);
        }

        return $call;
    }
public function filterCall(Call $call)
    {
        if ($container = $this->getContainer($call)) {
            $autowirer = new ArgumentAutowirer($container);
            $newArguments = $autowirer->autowireArguments($call->getCallee()->getReflection(), $call->getArguments());

            return $this->repackageCallIfNewArguments($call, $newArguments);
        }

        return $call;
    }
public function filterCall ( Call $ call ) { if ( $ container = $ this -> getContainer ( $ call ) ) { $ autowirer = new ArgumentAutowirer ( $ container ) ; $ newArguments = $ autowirer -> autowireArguments ( $ call -> getCallee ( ) -> getReflection ( ) , $ call -> getArguments ( ) ) ; return $ this -> repackageCallIfNewArguments ( $ call , $ newArguments ) ; } return $ call ; }
Filters a call and returns a new one.

@param Call $call

@return Call

@throws UnsupportedCallException
@throws ContainerExceptionInterface
Filters a call and returns a new one .