public function hasTable($name, $caseInsensitive = false)
    {
        if ($caseInsensitive) {
            return isset($this->tablesByLowercaseName[ strtolower($name) ]);
        }

        return isset($this->tablesByName[$name]);
    }
public function hasTable($name, $caseInsensitive = false)
    {
        if ($caseInsensitive) {
            return isset($this->tablesByLowercaseName[ strtolower($name) ]);
        }

        return isset($this->tablesByName[$name]);
    }
public function hasTable ( $ name , $ caseInsensitive = false ) { if ( $ caseInsensitive ) { return isset ( $ this -> tablesByLowercaseName [ strtolower ( $ name ) ] ) ; } return isset ( $ this -> tablesByName [ $ name ] ) ; }
Returns whether or not the database has a table.

@param  string  $name
@param  boolean $caseInsensitive
@return boolean
Returns whether or not the database has a table .