public function schemaByIndex($index)
    {
        $schema = array();

        foreach ($this->collection->schema() as $value) {
            $schema[] = $value;
        }

        return (empty($schema[$index])) ? null : $schema[$index];
    }
public function schemaByIndex($index)
    {
        $schema = array();

        foreach ($this->collection->schema() as $value) {
            $schema[] = $value;
        }

        return (empty($schema[$index])) ? null : $schema[$index];
    }
public function schemaByIndex ( $ index ) { $ schema = array ( ) ; foreach ( $ this -> collection -> schema ( ) as $ value ) { $ schema [ ] = $ value ; } return ( empty ( $ schema [ $ index ] ) ) ? null : $ schema [ $ index ] ; }
Get schema configuration by offset name.

@method schemaByIndex

@param string $index

@return mixed
Get schema configuration by offset name .