original_string: public function init(array $args = [])
      {
          $args += ['total' => 100, 'width' => 80];
          $this->_progress = 0;
          $this->_width = $args['width'];
          $this->_total = $args['total'];
  
          return $this;
      }
code: public function init(array $args = [])
      {
          $args += ['total' => 100, 'width' => 80];
          $this->_progress = 0;
          $this->_width = $args['width'];
          $this->_total = $args['total'];
  
          return $this;
      }
code_tokens: public function init ( array $ args = [ ] ) { $ args += [ 'total' => 100 , 'width' => 80 ] ; $ this -> _progress = 0 ; $ this -> _width = $ args [ 'width' ] ; $ this -> _total = $ args [ 'total' ] ; return $ this ; }
docstring: Initialize the progress bar for use.
  
  - `total` The total number of items in the progress bar. Defaults
  to 100.
  - `width` The width of the progress bar. Defaults to 80.
  
  @param array $args The initialization data.
  @return $this
docstring_tokens: Initialize the progress bar for use .