Platformsh\Cli\Console\AdaptiveTable::__construct PHP Method

__construct() public method

AdaptiveTable constructor.
public __construct ( Symfony\Component\Console\Output\OutputInterface $output, integer | null $maxTableWidth = null, integer | null $minColumnWidth = 10 )
$output Symfony\Component\Console\Output\OutputInterface
$maxTableWidth integer | null
$minColumnWidth integer | null
    public function __construct(OutputInterface $output, $maxTableWidth = null, $minColumnWidth = 10)
    {
        $this->outputCopy = $output;
        $this->maxTableWidth = $maxTableWidth !== null ? $maxTableWidth : $this->getTerminalWidth();
        $this->minColumnWidth = $minColumnWidth;
        parent::__construct($output);
    }