protected function getProxyableClasses(array $classNamesByPackage): array
    {
        $proxyableClasses = [];
        foreach ($classNamesByPackage as $classNames) {
            foreach ($classNames as $className) {
                if (in_array(substr($className, 0, 15), $this->blacklistedSubPackages)) {
                    continue;
                }
                if ($this->reflectionService->isClassAnnotatedWith($className, Flow\Aspect::class)) {
                    continue;
                }
                $proxyableClasses[] = $className;
            }
        }
        return $proxyableClasses;
    }
protected function getProxyableClasses(array $classNamesByPackage): array
    {
        $proxyableClasses = [];
        foreach ($classNamesByPackage as $classNames) {
            foreach ($classNames as $className) {
                if (in_array(substr($className, 0, 15), $this->blacklistedSubPackages)) {
                    continue;
                }
                if ($this->reflectionService->isClassAnnotatedWith($className, Flow\Aspect::class)) {
                    continue;
                }
                $proxyableClasses[] = $className;
            }
        }
        return $proxyableClasses;
    }
protected function getProxyableClasses ( array $ classNamesByPackage ) : array { $ proxyableClasses = [ ] ; foreach ( $ classNamesByPackage as $ classNames ) { foreach ( $ classNames as $ className ) { if ( in_array ( substr ( $ className , 0 , 15 ) , $ this -> blacklistedSubPackages ) ) { continue ; } if ( $ this -> reflectionService -> isClassAnnotatedWith ( $ className , Flow \ Aspect :: class ) ) { continue ; } $ proxyableClasses [ ] = $ className ; } } return $ proxyableClasses ; }
Determines which of the given classes are potentially proxyable
and returns their names in an array.

@param array $classNamesByPackage Names of the classes to check
@return array Names of classes which can be proxied
Determines which of the given classes are potentially proxyable and returns their names in an array .