PHP Класс EzSystems\PlatformBehatBundle\Context\Argument\AnnotationArgumentResolver

Наследование: implements Behat\Behat\Context\Argument\ArgumentResolver
Показать файл Открыть проект

Открытые методы

Метод Описание
resolveArguments ( ReflectionClass $classReflection, array $arguments = [] ) Resolve service arguments for Behat Context constructor thru annotation.

Приватные методы

Метод Описание
getMethodAnnotations ( $refClass, $method = '__construct' ) : array Returns a array with the method annotations.
parseAnnotations ( $annotations ) : array Returns an array with the method arguments service requirements, if the methods use the service Annotation.

Описание методов

resolveArguments() публичный Метод

Symfony2Extension ArgumentResoler will convert service names to actual instances.
public resolveArguments ( ReflectionClass $classReflection, array $arguments = [] )
$classReflection ReflectionClass
$arguments array