PHPPM\Commands\ConfigTrait::renderConfig PHP 메소드

renderConfig() 보호된 메소드

protected renderConfig ( Symfony\Component\Console\Output\OutputInterface $output, array $config )
$output Symfony\Component\Console\Output\OutputInterface
$config array
    protected function renderConfig(OutputInterface $output, array $config)
    {
        $table = new Table($output);
        $rows = array_map(function ($a, $b) {
            return [$a, $b];
        }, array_keys($config), $config);
        $table->addRows($rows);
        $table->render();
    }