public function removePlugin($key) {
        if (!isset($this->plugins[$key])) {
            return $this;
        }
        if (method_exists($this->plugins[$key], 'unconfigure')) {
            $this->plugins[$key]->unconfigure($this);
        }
        unset($this->plugins[$key]);
        return $this;
    }
public function removePlugin($key) {
        if (!isset($this->plugins[$key])) {
            return $this;
        }
        if (method_exists($this->plugins[$key], 'unconfigure')) {
            $this->plugins[$key]->unconfigure($this);
        }
        unset($this->plugins[$key]);
        return $this;
    }
public function removePlugin ( $ key ) { if ( ! isset ( $ this -> plugins [ $ key ] ) ) { return $ this ; } if ( method_exists ( $ this -> plugins [ $ key ] , 'unconfigure' ) ) { $ this -> plugins [ $ key ] -> unconfigure ( $ this ) ; } unset ( $ this -> plugins [ $ key ] ) ; return $ this ; }
Remove a plugin and its events by the key

@param string $key the key used in TcTable::addPlugin()
@return TcTable
Remove a plugin and its events by the key