Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TableStyle.php

function TableStyle::setPaddingChar

Sets padding character, used for cell padding.

Return value

$this

File

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

Class

TableStyle
Defines the styles for a Table.

Namespace

Symfony\Component\Console\Helper

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal