Platformsh\Cli\Command\SubscriptionInfoCommand::listProperties PHP Метод

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

protected listProperties ( Platformsh\Client\Model\Subscription $subscription, Table $table ) : integer
$subscription Platformsh\Client\Model\Subscription
$table Platformsh\Cli\Util\Table
Результат integer
    protected function listProperties(Subscription $subscription, Table $table)
    {
        $headings = [];
        $values = [];
        foreach ($subscription->getProperties() as $key => $value) {
            $headings[] = new AdaptiveTableCell($key, ['wrap' => false]);
            $values[] = $this->formatter->format($value, $key);
        }
        $table->renderSimple($values, $headings);
        return 0;
    }