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

        return null; // just to be explicit
    }
public function getTable($name, $caseInsensitive = false)
    {
        if ($this->hasTable($name, $caseInsensitive)) {
            if ($caseInsensitive) {
                return $this->tablesByLowercaseName[strtolower($name)];
            } else {
                return $this->tablesByName[$name];
            }
        }

        return null; // just to be explicit
    }
public function getTable ( $ name , $ caseInsensitive = false ) { if ( $ this -> hasTable ( $ name , $ caseInsensitive ) ) { if ( $ caseInsensitive ) { return $ this -> tablesByLowercaseName [ strtolower ( $ name ) ] ; } else { return $ this -> tablesByName [ $ name ] ; } } return null ; // just to be explicit }
Return the table with the specified name.

@param string  $name            The name of the table (e.g. 'my_table')
@param boolean $caseInsensitive Whether the check is case insensitive. False by default.

@return Table a Table object or null if it doesn't exist
Return the table with the specified name .