You are here

public function MigrateSourceYaml::performRewind in Migrate Source YAML 7

Perform a rewind, setting the current record back to the first item.

Use PHP native array functionality, setting the internal pointer of the data array to the first item.

File

includes/MigrateSourceYaml.inc, line 76
Contains MigrateSourceYaml.

Class

MigrateSourceYaml
Migrate source class to import from a YAML file.

Code

public function performRewind() {
  reset($this->data);
}