/** * Get table * * @param string $table * @param string $schema * @param string $database * @return Object\TableObject */ public function getTable($table, $schema = null) { $tableObj = new Object\TableObject($table); $tableObj->setColumns($this->getColumns($table)); $tableObj->setConstraints($this->getConstraints($table, $schema)); return $tableObj; }