public function table($table, string $alias = null): self
    {
        $table = $this->checkStringValue('Argument $table', $table);

        $this->table = $table;
        $this->tableAlias = $alias;
        return $this;
    }
public function table($table, string $alias = null): self
    {
        $table = $this->checkStringValue('Argument $table', $table);

        $this->table = $table;
        $this->tableAlias = $alias;
        return $this;
    }
public function table ( $ table , string $ alias = null ) : self { $ table = $ this -> checkStringValue ( 'Argument $table' , $ table ) ; $ this -> table = $ table ; $ this -> tableAlias = $ alias ; return $ this ; }
Sets the target table.

@param string|\Closure|self|StatementInterface $table Not prefixed table name without quotes
@param string|null $alias Table alias. Warning! Alias is not allowed in insert, update and delete queries in some
of the DBMSs.
@return $this
@throws InvalidArgumentException
@throws InvalidReturnValueException
Sets the target table .