private function resolveActionType(Action\ActionTypeInterface $type)
    {
        $typeExtensions = [];
        $parentType = $type->getParent();
        $class = get_class($type);

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

        return $this->resolvedTypeFactory->createResolvedActionType(
            $type,
            $typeExtensions,
            $parentType ? $this->getActionType($parentType) : null
        );
    }
private function resolveActionType(Action\ActionTypeInterface $type)
    {
        $typeExtensions = [];
        $parentType = $type->getParent();
        $class = get_class($type);

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

        return $this->resolvedTypeFactory->createResolvedActionType(
            $type,
            $typeExtensions,
            $parentType ? $this->getActionType($parentType) : null
        );
    }
private function resolveActionType ( Action \ ActionTypeInterface $ type ) { $ typeExtensions = [ ] ; $ parentType = $ type -> getParent ( ) ; $ class = get_class ( $ type ) ; foreach ( $ this -> extensions as $ extension ) { $ typeExtensions = array_merge ( $ typeExtensions , $ extension -> getActionTypeExtensions ( $ class ) ) ; } return $ this -> resolvedTypeFactory -> createResolvedActionType ( $ type , $ typeExtensions , $ parentType ? $ this -> getActionType ( $ parentType ) : null ) ; }
Wraps a type into a ResolvedActionTypeInterface implementation
and connects it with its parent type.

@param Action\ActionTypeInterface $type The type to resolve

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