1 | <?php |
||
8 | class PrepareTerminalWidthOption implements PrepareFormatter |
||
9 | { |
||
10 | /** var Application */ |
||
11 | protected $application; |
||
12 | |||
13 | /** var int */ |
||
14 | protected $defaultWidth; |
||
15 | |||
16 | /** var int */ |
||
17 | protected $maxWidth = PHP_INT_MAX; |
||
18 | |||
19 | /** var int */ |
||
20 | protected $minWidth = 0; |
||
21 | |||
22 | /* var boolean */ |
||
23 | protected $shouldWrap = true; |
||
24 | |||
25 | public function __construct($defaultWidth = 0) |
||
35 | |||
36 | public function setApplication(Application $application) |
||
40 | |||
41 | public function enableWrap($shouldWrap) |
||
45 | |||
46 | public function prepare(CommandData $commandData, FormatterOptions $options) |
||
59 | |||
60 | protected function getTerminalWidth() |
||
73 | |||
74 | protected function getMaxWidth(CommandData $commandData) |
||
78 | |||
79 | protected function getMinWidth(CommandData $commandData) |
||
83 | } |
||
84 |
This method has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.