src/Reflection/ReflectionClass.php
private function convertArrayOfReflectionToSelf(array $reflectionClasses): array
    {
        $return = [];
        foreach ($reflectionClasses as $key => $reflectionClass) {
            $return[$key] = self::constructFromReflectionClass($reflectionClass);
        }

        return $return;
    }
private function convertArrayOfReflectionToSelf(array $reflectionClasses): array
    {
        $return = [];
        foreach ($reflectionClasses as $key => $reflectionClass) {
            $return[$key] = self::constructFromReflectionClass($reflectionClass);
        }

        return $return;
    }
Take an array of raw \ReflectionClass objects and return an array of self

@param array $reflectionClasses

@return array|self[]
@throws \ReflectionException