original_string: public function schemaByIndex($index)
      {
          $schema = array();
  
          foreach ($this->collection->schema() as $value) {
              $schema[] = $value;
          }
  
          return (empty($schema[$index])) ? null : $schema[$index];
      }
code: public function schemaByIndex($index)
      {
          $schema = array();
  
          foreach ($this->collection->schema() as $value) {
              $schema[] = $value;
          }
  
          return (empty($schema[$index])) ? null : $schema[$index];
      }
code_tokens: public function schemaByIndex ( $ index ) { $ schema = array ( ) ; foreach ( $ this -> collection -> schema ( ) as $ value ) { $ schema [ ] = $ value ; } return ( empty ( $ schema [ $ index ] ) ) ? null : $ schema [ $ index ] ; }
docstring: Get schema configuration by offset name.
  
  @method schemaByIndex
  
  @param string $index
  
  @return mixed
docstring_tokens: Get schema configuration by offset name .