public function unregisterInstance()
    {
        if (array_key_exists($this->instanceName, self::$instances)) {
            unset(self::$instances[$this->instanceName]);
            unset($this->instanceName);
        }
        return $this;
    }