diff --git a/src/Admin/TableColumn.php b/src/Admin/TableColumn.php index 011c437..c1c36c0 100755 --- a/src/Admin/TableColumn.php +++ b/src/Admin/TableColumn.php @@ -18,6 +18,20 @@ class TableColumn extends TableExpand private string $type; private string $key; + /** + * Define the configuration index + * + * @param string $key + * @return $this + */ + public function __construct(string $type, string $key) + { + parent::__construct($type, $key); + $this->type = $type; + $this->key = $key; + return $this; + } + /** * Whether to bind the database *