protected function enhanceRawConfigurationWithAnnotationOptions($className, array $rawObjectConfiguration)
    {
        if ($this->reflectionService->isClassAnnotatedWith($className, Flow\Scope::class)) {
            $rawObjectConfiguration['scope'] = $this->reflectionService->getClassAnnotation($className, Flow\Scope::class)->value;
        }
        if ($this->reflectionService->isClassAnnotatedWith($className, Flow\Autowiring::class)) {
            $rawObjectConfiguration['autowiring'] = $this->reflectionService->getClassAnnotation($className, Flow\Autowiring::class)->enabled;
        }
        return $rawObjectConfiguration;
    }
protected function enhanceRawConfigurationWithAnnotationOptions($className, array $rawObjectConfiguration)
    {
        if ($this->reflectionService->isClassAnnotatedWith($className, Flow\Scope::class)) {
            $rawObjectConfiguration['scope'] = $this->reflectionService->getClassAnnotation($className, Flow\Scope::class)->value;
        }
        if ($this->reflectionService->isClassAnnotatedWith($className, Flow\Autowiring::class)) {
            $rawObjectConfiguration['autowiring'] = $this->reflectionService->getClassAnnotation($className, Flow\Autowiring::class)->enabled;
        }
        return $rawObjectConfiguration;
    }
protected function enhanceRawConfigurationWithAnnotationOptions ( $ className , array $ rawObjectConfiguration ) { if ( $ this -> reflectionService -> isClassAnnotatedWith ( $ className , Flow \ Scope :: class ) ) { $ rawObjectConfiguration [ 'scope' ] = $ this -> reflectionService -> getClassAnnotation ( $ className , Flow \ Scope :: class ) -> value ; } if ( $ this -> reflectionService -> isClassAnnotatedWith ( $ className , Flow \ Autowiring :: class ) ) { $ rawObjectConfiguration [ 'autowiring' ] = $ this -> reflectionService -> getClassAnnotation ( $ className , Flow \ Autowiring :: class ) -> enabled ; } return $ rawObjectConfiguration ; }
Builds a raw configuration array by parsing possible scope and autowiring
annotations from the given class or interface.

@param string $className
@param array $rawObjectConfiguration
@return array
Builds a raw configuration array by parsing possible scope and autowiring annotations from the given class or interface .