You are here

protected function Application::getTerminalHeight in Zircon Profile 8

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

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

Return value

int|null

File

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

Class

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

Namespace

Symfony\Component\Console

Code

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