You are here

protected function Application::getTerminalWidth in Zircon Profile 8

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

Tries to figure out the terminal width in which this application runs.

Return value

int|null

1 call to Application::getTerminalWidth()
Application::renderException in vendor/symfony/console/Application.php
Renders a caught exception.

File

vendor/symfony/console/Application.php, line 707

Class

Application
An Application is the container for a collection of commands.

Namespace

Symfony\Component\Console

Code

protected function getTerminalWidth() {
  $dimensions = $this
    ->getTerminalDimensions();
  return $dimensions[0];
}