function TestMigrateExecutable::setMemoryLimit

Same name in other branches
  1. 9 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()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.