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

Breadcrumb

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

function TableStyle::setVerticalBorderChars

Sets vertical border characters.

<code> ╔═══════════════╤══════════════════════════╤══════════════════╗ ║ ISBN │ Title │ Author ║ ╠═══════1═══════╪══════════════════════════╪══════════════════╣ ║ 99921-58-10-7 │ Divine Comedy │ Dante Alighieri ║ ║ 9971-5-0210-0 │ A Tale of Two Cities │ Charles Dickens ║ ╟───────2───────┼──────────────────────────┼──────────────────╢ ║ 960-425-059-0 │ The Lord of the Rings │ J. R. R. Tolkien ║ ║ 80-902734-1-6 │ And Then There Were None │ Agatha Christie ║ ╚═══════════════╧══════════════════════════╧══════════════════╝ </code>

Return value

$this

File

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

Class

TableStyle
Defines the styles for a Table.

Namespace

Symfony\Component\Console\Helper

Code

public function setVerticalBorderChars(string $outside, ?string $inside = null) : static {
    $this->verticalOutsideBorderChar = $outside;
    $this->verticalInsideBorderChar = $inside ?? $outside;
    return $this;
}

API Navigation

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