You are here

public function Application::setTerminalDimensions in Zircon Profile 8

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

Sets terminal dimensions.

Can be useful to force terminal dimensions for functional tests.

Parameters

int $width The width:

int $height The height:

Return value

Application The current application

File

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

Class

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

Namespace

Symfony\Component\Console

Code

public function setTerminalDimensions($width, $height) {
  $this->terminalDimensions = array(
    $width,
    $height,
  );
  return $this;
}