original_string: public function first()
      {
          $this->rewind();
          $document = $this->getCursor()->current();
  
          if (!$document) {
              return;
          }
  
          return $this->getAssembler()->assemble($document, $this->entitySchema);
      }
code: public function first()
      {
          $this->rewind();
          $document = $this->getCursor()->current();
  
          if (!$document) {
              return;
          }
  
          return $this->getAssembler()->assemble($document, $this->entitySchema);
      }
code_tokens: public function first ( ) { $ this -> rewind ( ) ; $ document = $ this -> getCursor ( ) -> current ( ) ; if ( ! $ document ) { return ; } return $ this -> getAssembler ( ) -> assemble ( $ document , $ this -> entitySchema ) ; }
docstring: Returns the first element of the cursor.
  
  @return mixed
docstring_tokens: Returns the first element of the cursor .