src/Phossa/Query/Builder.php
public function table($table, /*# string */ $tableAlias = '')
    {
        $tbl = $this->fixTable($table, $tableAlias);

        // clone the builder if table different
        if ($tbl != $this->tables) {
            $clone = clone $this;
            $clone->tables = $tbl;
            return $clone;
        } else {
            return $this;
        }
    }
public function table($table, /*# string */ $tableAlias = '')
    {
        $tbl = $this->fixTable($table, $tableAlias);

        // clone the builder if table different
        if ($tbl != $this->tables) {
            $clone = clone $this;
            $clone->tables = $tbl;
            return $clone;
        } else {
            return $this;
        }
    }
Clone the builder and set default table[s]

```php
// a user table query builder
$user = $builder->table('user', 'u');

// working on user table
$user->select()->...
```

{@inheritDoc}