<?php

namespace Topxia\Service\CloudPlatform;

 abstract class AbstractUninstaller
 {
    protected $kernel;

    public function __construct ($kernel)
    {
        $this->kernel = $kernel;
    }

    public function getConnection()
    {
        return $this->kernel->getConnection();
    }

    protected function createService($name)
    {
        return $this->kernel->createService($name);
    }

    protected function createDao($name)
    {
        return $this->kernel->createDao($name);
    }

    abstract public function uninstall();
   
 }