original_string: public function rollbackPlugin($name)
      {
          /*
           * Remove the plugin database and version
           */
          if (!($plugin = $this->pluginManager->findByIdentifier($name))
              && $this->versionManager->purgePlugin($name)
          ) {
              $this->note('<info>Purged from database:</info> ' . $name);
              return $this;
          }
  
          if ($this->versionManager->removePlugin($plugin)) {
              $this->note('<info>Rolled back:</info> ' . $name);
              return $this;
          }
  
          $this->note('<error>Unable to find:</error> ' . $name);
  
          return $this;
      }
code: public function rollbackPlugin($name)
      {
          /*
           * Remove the plugin database and version
           */
          if (!($plugin = $this->pluginManager->findByIdentifier($name))
              && $this->versionManager->purgePlugin($name)
          ) {
              $this->note('<info>Purged from database:</info> ' . $name);
              return $this;
          }
  
          if ($this->versionManager->removePlugin($plugin)) {
              $this->note('<info>Rolled back:</info> ' . $name);
              return $this;
          }
  
          $this->note('<error>Unable to find:</error> ' . $name);
  
          return $this;
      }
code_tokens: public function rollbackPlugin ( $ name ) { /*
           * Remove the plugin database and version
           */ if ( ! ( $ plugin = $ this -> pluginManager -> findByIdentifier ( $ name ) ) && $ this -> versionManager -> purgePlugin ( $ name ) ) { $ this -> note ( '<info>Purged from database:</info> ' . $ name ) ; return $ this ; } if ( $ this -> versionManager -> removePlugin ( $ plugin ) ) { $ this -> note ( '<info>Rolled back:</info> ' . $ name ) ; return $ this ; } $ this -> note ( '<error>Unable to find:</error> ' . $ name ) ; return $ this ; }
docstring: Removes an existing plugin
  @param string $name Plugin name.
  @return self
docstring_tokens: Removes an existing plugin