You are here

public function TestMigrateExecutable::setMemoryThreshold 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::setMemoryThreshold()
  2. 10 core/modules/migrate/tests/src/Unit/TestMigrateExecutable.php \Drupal\Tests\migrate\Unit\TestMigrateExecutable::setMemoryThreshold()

Sets the memory threshold.

Parameters

float $threshold: The new threshold.

File

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

Class

TestMigrateExecutable
Tests MigrateExecutable.

Namespace

Drupal\Tests\migrate\Unit

Code

public function setMemoryThreshold($threshold) {
  $this->memoryThreshold = $threshold;
}