You are here

public function TestMigrateExecutable::setMemoryLimit in Drupal 9

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

Sets the memory limit.

Parameters

int $memory_limit: The memory limit.

File

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

Class

TestMigrateExecutable
Tests MigrateExecutable.

Namespace

Drupal\Tests\migrate\Unit

Code

public function setMemoryLimit($memory_limit) {
  $this->memoryLimit = $memory_limit;
}