public function resolveType(JobTypeInterface $type)
    {
        $parentType = $type->getParent();

        if ($parentType instanceof JobTypeInterface) {
            $parentType = $this->resolveType($parentType);
        } elseif (null !== $parentType) {
            $parentType = $this->registry->getType($parentType);
        }

        return $this->createResolvedType($type, $parentType);
    }
public function resolveType(JobTypeInterface $type)
    {
        $parentType = $type->getParent();

        if ($parentType instanceof JobTypeInterface) {
            $parentType = $this->resolveType($parentType);
        } elseif (null !== $parentType) {
            $parentType = $this->registry->getType($parentType);
        }

        return $this->createResolvedType($type, $parentType);
    }
public function resolveType ( JobTypeInterface $ type ) { $ parentType = $ type -> getParent ( ) ; if ( $ parentType instanceof JobTypeInterface ) { $ parentType = $ this -> resolveType ( $ parentType ) ; } elseif ( null !== $ parentType ) { $ parentType = $ this -> registry -> getType ( $ parentType ) ; } return $ this -> createResolvedType ( $ type , $ parentType ) ; }
Creates wrapper for combination of JobType and JobConnector

@param JobTypeInterface $type

@return ResolvedJob
Creates wrapper for combination of JobType and JobConnector