Esempio n. 1
0
 /**
  * Behaves in a similar manner to `cli\Notify::current()`, but the output
  * is padded to match the length of `cli\Progress::total()`.
  *
  * @return string  The formatted and padded tick count.
  * @see cli\Progress::total()
  */
 public function current()
 {
     $size = strlen($this->total());
     return str_pad(parent::current(), $size);
 }