示例#1
0
 /**
  * Reset the progress state so the same instance can be used in multiple loops.
  */
 public function reset($total = null)
 {
     parent::reset();
     if ($total) {
         $this->setTotal($total);
     }
 }