You are here

protected function TestMigrateExecutable::formatSize 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::formatSize()

Generates a string representation for the given byte count.

Parameters

int $size: A size in bytes.

Return value

string A translated string representation of the size.

Overrides MigrateExecutable::formatSize

File

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

Class

TestMigrateExecutable
Tests MigrateExecutable.

Namespace

Drupal\Tests\migrate\Unit

Code

protected function formatSize($size) {
  return $size;
}