You are here

public function TableStyle::setPaddingChar in Zircon Profile 8

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

Sets padding character, used for cell padding.

Parameters

string $paddingChar:

Return value

TableStyle

File

vendor/symfony/console/Helper/TableStyle.php, line 39

Class

TableStyle
Defines the styles for a Table.

Namespace

Symfony\Component\Console\Helper

Code

public function setPaddingChar($paddingChar) {
  if (!$paddingChar) {
    throw new \LogicException('The padding char must not be empty');
  }
  $this->paddingChar = $paddingChar;
  return $this;
}