Platformsh\Cli\Command\Domain\DomainListCommand::buildDomainRows PHP Метод

buildDomainRows() защищенный Метод

Recursively build rows of the domain table.
protected buildDomainRows ( array $tree ) : array
$tree array
Результат array
    protected function buildDomainRows(array $tree)
    {
        $rows = [];
        $formatter = new PropertyFormatter();
        foreach ($tree as $domain) {
            $rows[] = [$domain->id, $formatter->format((bool) $domain['ssl']['has_certificate']), $formatter->format($domain['created_at'], 'created_at')];
        }
        return $rows;
    }