Page MenuHomePhabricator

D9553.diff
No OneTemporary

D9553.diff

diff --git a/src/console/PhutilConsoleTable.php b/src/console/PhutilConsoleTable.php
--- a/src/console/PhutilConsoleTable.php
+++ b/src/console/PhutilConsoleTable.php
@@ -74,6 +74,13 @@
return $this;
}
+ public function addColumns(array $columns) {
+ foreach ($columns as $key => $column) {
+ $this->addColumn($key, $column);
+ }
+ return $this;
+ }
+
public function addRow(array $data) {
$this->data[] = $data;

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 7:40 PM (20 h, 34 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7042948
Default Alt Text
D9553.diff (450 B)

Event Timeline