You are here

public function TableHelper::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Helper/TableHelper.php \Symfony\Component\Console\Helper\TableHelper::__construct()

File

vendor/symfony/console/Helper/TableHelper.php, line 37

Class

TableHelper
Provides helpers to display table output.

Namespace

Symfony\Component\Console\Helper

Code

public function __construct($triggerDeprecationError = true) {
  if ($triggerDeprecationError) {
    @trigger_error('The ' . __CLASS__ . ' class is deprecated since version 2.5 and will be removed in 3.0. Use the Symfony\\Component\\Console\\Helper\\Table class instead.', E_USER_DEPRECATED);
  }
  $this->table = new Table(new NullOutput());
}