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

Breadcrumb

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

function Diff::getIterator

File

vendor/sebastian/diff/src/Diff.php, line 110

Class

Diff
@template-implements IteratorAggregate<int, Chunk>

Namespace

SebastianBergmann\Diff

Code

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

API Navigation

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