Skip to content

Commit e3cbc1d

Browse files
committed
Introduce Column interface for the right alignment names
1 parent a6bb946 commit e3cbc1d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/cli/table/Column.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace cli\table;
4+
5+
interface Column {
6+
7+
const ALIGN_RIGHT = STR_PAD_LEFT;
8+
const ALIGN_LEFT = STR_PAD_RIGHT;
9+
const ALIGN_CENTER = STR_PAD_BOTH;
10+
}

0 commit comments

Comments
 (0)