File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -584,22 +584,19 @@ call ``setAutoExit(false)`` on it to get the command result in ``CommandTester``
584584
585585When testing your commands, it could be useful to understand how your command
586586reacts on different settings like the width and the height of the terminal.
587- Thanks to the :class: ` Symfony \\ Component \\ Console \\ Terminal ` class, you can
588- have access to such information: :
587+ You have access to such information thanks to the
588+ :class: ` Symfony \\ Component \\ Console \\ Terminal ` class :
589589
590590 use Symfony\C omponent\C onsole\T erminal;
591591
592592 $terminal = new Terminal();
593593
594- // access to number of lines available
594+ // gets the number of lines available
595595 $height = $terminal->getHeight();
596596
597- // access to number of columns available
597+ // gets the number of columns available
598598 $width = $terminal->getWidth();
599599
600- By default, the ``Terminal `` class uses the values of the
601- ``LINES `` and ``COLUMNS `` system environment variables.
602-
603600Logging Command Errors
604601----------------------
605602
You can’t perform that action at this time.
0 commit comments