Symfony\Component\Console\Application::getTerminalHeight PHP Метод

getTerminalHeight() защищенный Метод

Tries to figure out the terminal height in which this application runs.
Устаревший: since version 3.2, to be removed in 4.0. Create a Terminal instance instead.
protected getTerminalHeight ( ) : integer | null
Результат integer | null
    protected function getTerminalHeight()
    {
        @trigger_error(sprintf('%s is deprecated as of 3.2 and will be removed in 4.0. Create a Terminal instance instead.', __METHOD__), E_USER_DEPRECATED);
        return $this->terminal->getHeight();
    }

Usage Example

Пример #1
0
 /**
  * {@inheritDoc}
  */
 public function getTerminalHeight()
 {
     return parent::getTerminalHeight();
 }