Ejemplo n.º 1
0
 /**
  * Clears the debug and run stacks as well as resetting the list of run
  * migrations.
  */
 public function reset()
 {
     $this->runStack = array();
     $this->debugStack = array();
     //Load the list of already run migrations
     $this->oldMigrations = $this->storage->getPast();
 }