Skip to content
Browse files

[Console] Add docblocks

  • Loading branch information...
1 parent 8a2b115 commit 7ce22f0cefa38e0ff171ae1678f99082c3e47107 @Seldaek committed Apr 6, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 src/Symfony/Component/Console/Application.php
View
10 src/Symfony/Component/Console/Application.php
@@ -789,6 +789,11 @@ public function renderException($e, $output)
}
}
+ /**
+ * Tries to figure out the terminal width in which this application runs
+ *
+ * @return int|null
+ */
protected function getTerminalWidth()
{
if (defined('PHP_WINDOWS_VERSION_BUILD') && $ansicon = getenv('ANSICON')) {
@@ -800,6 +805,11 @@ protected function getTerminalWidth()
}
}
+ /**
+ * Tries to figure out the terminal height in which this application runs
+ *
+ * @return int|null
+ */
protected function getTerminalHeight()
{
if (defined('PHP_WINDOWS_VERSION_BUILD') && $ansicon = getenv('ANSICON')) {

0 comments on commit 7ce22f0

Please sign in to comment.
Something went wrong with that request. Please try again.