public function __construct($row) { $this->name = trim($row[0]); $this->type = trim($row[1]); $this->nullable = trim($row[2]); $this->key = trim($row[3]); $this->defaultValue = trim($row[4]); $this->ext = trim($row[5]); }