therselman
7 years ago
1 changed files with 25 additions and 0 deletions
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
<?php |
||||
|
||||
namespace Twister\DBAL; |
||||
|
||||
use Twister\DBAL\Types; |
||||
|
||||
class Table |
||||
{ |
||||
protected $fields = null; |
||||
|
||||
public function __construct(array $fields = null) |
||||
{ |
||||
$this->fields =& $fields; |
||||
} |
||||
|
||||
public function __get($field) |
||||
{ |
||||
return $this->fields[$field]; |
||||
} |
||||
|
||||
public static function build($db, string $table) |
||||
{ |
||||
|
||||
} |
||||
} |
Loading…
Reference in new issue