You are here

protected function TestMigrateExecutable::getMemoryUsage in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::getMemoryUsage()
  2. 10 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::getMemoryUsage()

Returns the memory usage so far.

Return value

int The memory usage.

Overrides MigrateExecutable::getMemoryUsage

File

core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php, line 88

Class

TestMigrateExecutable
Tests MigrateExecutable.

Namespace

Drupal\Tests\migrate\Unit

Code

protected function getMemoryUsage() {
  return $this->memoryUsage;
}