getSchema() public method

return database table schema
public getSchema ( string $table ) : array
$table string table name
return array
 /**
  * get table schema
  *
  * @return array
  */
 private function schema()
 {
     return $this->connector->getSchema($this->table);
 }
 /**
  * get table schema
  *
  * @return array
  */
 private function schema()
 {
     return $this->connection->getSchema($this->from);
 }