original_string: public function slice(int $count) : self
      {
          $list = $this->list;
          $listCount = $list->count();
          $new = new \SplFixedArray($listCount - $count);
  
          foreach ($new as $index => $val) {
              $new[$index] = $list[($index + $count)];
          }
  
          return new static($new);
      }
code: public function slice(int $count) : self
      {
          $list = $this->list;
          $listCount = $list->count();
          $new = new \SplFixedArray($listCount - $count);
  
          foreach ($new as $index => $val) {
              $new[$index] = $list[($index + $count)];
          }
  
          return new static($new);
      }
code_tokens: public function slice ( int $ count ) : self { $ list = $ this -> list ; $ listCount = $ list -> count ( ) ; $ new = new \ SplFixedArray ( $ listCount - $ count ) ; foreach ( $ new as $ index => $ val ) { $ new [ $ index ] = $ list [ ( $ index + $ count ) ] ; } return new static ( $ new ) ; }
docstring: slice method.
  
  @method slice
  
  @param int $count
  
  @return object Collection
docstring_tokens: slice method .