private function resolveType(BlockTypeInterface $type)
    {
        $typeExtensions = [];
        $parentType = $type->getParent();
        $fqcn = \get_class($type);

        foreach ($this->extensions as $extension) {
            $typeExtensions = array_merge(
                $typeExtensions,
                $extension->getTypeExtensions($fqcn)
            );
        }

        return $this->resolvedTypeFactory->createResolvedType(
            $type,
            $typeExtensions,
            $parentType ? $this->getType($parentType) : null
        );
    }
private function resolveType(BlockTypeInterface $type)
    {
        $typeExtensions = [];
        $parentType = $type->getParent();
        $fqcn = \get_class($type);

        foreach ($this->extensions as $extension) {
            $typeExtensions = array_merge(
                $typeExtensions,
                $extension->getTypeExtensions($fqcn)
            );
        }

        return $this->resolvedTypeFactory->createResolvedType(
            $type,
            $typeExtensions,
            $parentType ? $this->getType($parentType) : null
        );
    }
private function resolveType ( BlockTypeInterface $ type ) { $ typeExtensions = [ ] ; $ parentType = $ type -> getParent ( ) ; $ fqcn = \ get_class ( $ type ) ; foreach ( $ this -> extensions as $ extension ) { $ typeExtensions = array_merge ( $ typeExtensions , $ extension -> getTypeExtensions ( $ fqcn ) ) ; } return $ this -> resolvedTypeFactory -> createResolvedType ( $ type , $ typeExtensions , $ parentType ? $ this -> getType ( $ parentType ) : null ) ; }
Wraps a type into a ResolvedBlockTypeInterface implementation and connects
it with its parent type.

@param BlockTypeInterface $type The type to resolve

@return ResolvedBlockTypeInterface The resolved type
Wraps a type into a ResolvedBlockTypeInterface implementation and connects it with its parent type .