Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Chunk.php

function Chunk::getIterator

File

vendor/sebastian/diff/src/Chunk.php, line 120

Class

Chunk
@template-implements IteratorAggregate<int, Line>

Namespace

SebastianBergmann\Diff

Code

public function getIterator() : Traversable {
    return new ArrayIterator($this->lines);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal