Method | Description | |
---|---|---|
resolveArguments ( ReflectionClass $classReflection, array $arguments = [] ) | Resolve service arguments for Behat Context constructor thru annotation. |
Method | Description | |
---|---|---|
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. |
public resolveArguments ( ReflectionClass $classReflection, array $arguments = [] ) | ||
$classReflection | ReflectionClass | |
$arguments | array |