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

Breadcrumb

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

function Table::setStyle

Sets table style.

Return value

$this

1 call to Table::setStyle()
Table::__construct in vendor/symfony/console/Helper/Table.php

File

vendor/symfony/console/Helper/Table.php, line 90

Class

Table
Provides helpers to display a table.

Namespace

Symfony\Component\Console\Helper

Code

public function setStyle(TableStyle|string $name) : static {
    $this->style = $this->resolveStyle($name);
    return $this;
}

API Navigation

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