8000 [Console] Add docblocks · phreaknerd/symfony@7ce22f0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7ce22f0

Browse files
committed
[Console] Add docblocks
1 parent 8a2b115 commit 7ce22f0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Symfony/Component/Console/Application.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,11 @@ public function renderException($e, $output)
789789
}
790790
}
791791

792+
/**
793+
* Tries to figure out the terminal width in which this application runs
794+
*
795+
* @return int|null
796+
*/
792797
protected function getTerminalWidth()
793798
{
794799
if (defined('PHP_WINDOWS_VERSION_BUILD') && $ansicon = getenv('ANSICON')) {
@@ -800,6 +805,11 @@ protected function getTerminalWidth()
800805
}
801806
}
802807

808+
/**
809+
* Tries to figure out the terminal height in which this application runs
810+
*
811+
* @return int|null
812+
*/
803813
protected function getTerminalHeight()
804814
{
805815
if (defined('PHP_WINDOWS_VERSION_BUILD') && $ansicon = getenv('ANSICON')) {

0 commit comments

Comments
 (0)
0