DayleRees\ContainerDebug\Command::buildServiceTable PHP Method

buildServiceTable() public method

Construct an ASCII table to display services.
public buildServiceTable ( array $services ) : Symfony\Component\Console\Helper\TableHelper
$services array
return Symfony\Component\Console\Helper\TableHelper
    public function buildServiceTable($services)
    {
        $table = new TableHelper();
        $table->setHeaders($this->buildTableHeaders());
        $table->setRows($this->buildTableRows($services));
        return $table;
    }