public function getIndex($indexName)
    {
        if (isset($this->indexes[$indexName])) {
            return $this->indexes[$indexName];
        }
        return null;
    }
public function getIndex($indexName)
    {
        if (isset($this->indexes[$indexName])) {
            return $this->indexes[$indexName];
        }
        return null;
    }
public function getIndex ( $ indexName ) { if ( isset ( $ this -> indexes [ $ indexName ] ) ) { return $ this -> indexes [ $ indexName ] ; } return null ; }
Returns a index contained in the schema matching the specified name.

@param string $indexName
@return Index
Returns a index contained in the schema matching the specified name .