public function resolveArguments(ReflectionClass $classReflection, array $arguments = [])
    {
        $injArguments = $this->parseAnnotations(
            $this->getMethodAnnotations($classReflection)
        );

        if (!empty($injArguments)) {
            $arguments = [];
            foreach ($injArguments as $name => $service) {
                $arguments[$name] = $service;
            }
        }

        return $arguments;
    }
public function resolveArguments(ReflectionClass $classReflection, array $arguments = [])
    {
        $injArguments = $this->parseAnnotations(
            $this->getMethodAnnotations($classReflection)
        );

        if (!empty($injArguments)) {
            $arguments = [];
            foreach ($injArguments as $name => $service) {
                $arguments[$name] = $service;
            }
        }

        return $arguments;
    }
public function resolveArguments ( ReflectionClass $ classReflection , array $ arguments = [ ] ) { $ injArguments = $ this -> parseAnnotations ( $ this -> getMethodAnnotations ( $ classReflection ) ) ; if ( ! empty ( $ injArguments ) ) { $ arguments = [ ] ; foreach ( $ injArguments as $ name => $ service ) { $ arguments [ $ name ] = $ service ; } } return $ arguments ; }
Resolve service arguments for Behat Context constructor thru annotation.
Symfony2Extension ArgumentResoler will convert service names to actual instances.

@param ReflectionClass $classReflection
@param array $arguments
Resolve service arguments for Behat Context constructor thru annotation . Symfony2Extension ArgumentResoler will convert service names to actual instances .