You are here

public function ProgressBar::getBarCharacter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Helper/ProgressBar.php \Symfony\Component\Console\Helper\ProgressBar::getBarCharacter()

Gets the bar character.

Return value

string A character

File

vendor/symfony/console/Helper/ProgressBar.php, line 256

Class

ProgressBar
The ProgressBar provides helpers to display progress output.

Namespace

Symfony\Component\Console\Helper

Code

public function getBarCharacter() {
  if (null === $this->barChar) {
    return $this->max ? '=' : $this->emptyBarChar;
  }
  return $this->barChar;
}