protected function _reset()
    {
        if ($this->_sourceType !== self::TYPE_DIR && $this->_workingDir) {
            $source = new Folder($this->_workingDir);
            $source->delete();
        }

        $this->_addedOptions = [];
        $this->_workingDir = null;
        $this->_sourceType = null;
        $this->_plugin = [
            'name' => '',
            'packageName' => '',
            'type' => '',
            'composer' => [],
        ];

        Plugin::dropCache();
        $this->_detachListeners();

        return false;
    }
protected function _reset()
    {
        if ($this->_sourceType !== self::TYPE_DIR && $this->_workingDir) {
            $source = new Folder($this->_workingDir);
            $source->delete();
        }

        $this->_addedOptions = [];
        $this->_workingDir = null;
        $this->_sourceType = null;
        $this->_plugin = [
            'name' => '',
            'packageName' => '',
            'type' => '',
            'composer' => [],
        ];

        Plugin::dropCache();
        $this->_detachListeners();

        return false;
    }
protected function _reset ( ) { if ( $ this -> _sourceType !== self :: TYPE_DIR && $ this -> _workingDir ) { $ source = new Folder ( $ this -> _workingDir ) ; $ source -> delete ( ) ; } $ this -> _addedOptions = [ ] ; $ this -> _workingDir = null ; $ this -> _sourceType = null ; $ this -> _plugin = [ 'name' => '' , 'packageName' => '' , 'type' => '' , 'composer' => [ ] , ] ; Plugin :: dropCache ( ) ; $ this -> _detachListeners ( ) ; return false ; }
Discards the install operation. Restores this class's status
to its initial state.

### Usage:

```php
return $this->_reset();
```

@return bool False always
Discards the install operation . Restores this class s status to its initial state .