PhpBench\Benchmark\Metadata\Driver\AnnotationDriver::resolveValue PHP Метод

resolveValue() приватный Метод

private resolveValue ( AbstractArrayAnnotation $annotation, array $currentValues, array $annotationValues )
$annotation PhpBench\Benchmark\Metadata\Annotations\AbstractArrayAnnotation
$currentValues array
$annotationValues array
    private function resolveValue(AbstractArrayAnnotation $annotation, array $currentValues, array $annotationValues)
    {
        $values = $annotation->getExtend() === true ? $currentValues : [];
        $values = array_merge($values, $annotationValues);
        return $values;
    }