original_string: protected function rollback($slug)
      {
          if (! $this->packages->exists($slug)) {
              return $this->error('Package does not exist.');
          }
  
          $this->requireMigrations($slug);
  
          //
          $this->migrator->setConnection($this->input->getOption('database'));
  
          $pretend = $this->input->getOption('pretend');
  
          $this->migrator->rollback($pretend, $slug);
  
          //
          foreach ($this->migrator->getNotes() as $note) {
              if (! $this->option('quiet')) {
                  $this->line($note);
              }
          }
      }
code: protected function rollback($slug)
      {
          if (! $this->packages->exists($slug)) {
              return $this->error('Package does not exist.');
          }
  
          $this->requireMigrations($slug);
  
          //
          $this->migrator->setConnection($this->input->getOption('database'));
  
          $pretend = $this->input->getOption('pretend');
  
          $this->migrator->rollback($pretend, $slug);
  
          //
          foreach ($this->migrator->getNotes() as $note) {
              if (! $this->option('quiet')) {
                  $this->line($note);
              }
          }
      }
code_tokens: protected function rollback ( $ slug ) { if ( ! $ this -> packages -> exists ( $ slug ) ) { return $ this -> error ( 'Package does not exist.' ) ; } $ this -> requireMigrations ( $ slug ) ; // $ this -> migrator -> setConnection ( $ this -> input -> getOption ( 'database' ) ) ; $ pretend = $ this -> input -> getOption ( 'pretend' ) ; $ this -> migrator -> rollback ( $ pretend , $ slug ) ; // foreach ( $ this -> migrator -> getNotes ( ) as $ note ) { if ( ! $ this -> option ( 'quiet' ) ) { $ this -> line ( $ note ) ; } } }
docstring: Run the migration rollback for the specified Package.
  
  @param string $slug
  
  @return mixed
docstring_tokens: Run the migration rollback for the specified Package .