original_string: public function getNFirst($n)
      {
          $it = new \ArrayIterator();
          $j = 0;
          foreach ($this as $file) {
              if ($j == $n) {
                  break;
              }
              $j++;
              $it->append($file);
          }
  
          $finder = new static();
          $finder->append($it);
  
          return $finder;
      }
code: public function getNFirst($n)
      {
          $it = new \ArrayIterator();
          $j = 0;
          foreach ($this as $file) {
              if ($j == $n) {
                  break;
              }
              $j++;
              $it->append($file);
          }
  
          $finder = new static();
          $finder->append($it);
  
          return $finder;
      }
code_tokens: public function getNFirst ( $ n ) { $ it = new \ ArrayIterator ( ) ; $ j = 0 ; foreach ( $ this as $ file ) { if ( $ j == $ n ) { break ; } $ j ++ ; $ it -> append ( $ file ) ; } $ finder = new static ( ) ; $ finder -> append ( $ it ) ; return $ finder ; }
docstring: Get First N Files or Dirs
  
  @param integer $n Umpteenth Number
  
  @return Return a new Finder instance
  
  @see SortableIterator
  
  @api
docstring_tokens: Get First N Files or Dirs