You are here

public function ObjWithString::__toString in Drupal 10

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Unit/process/LogTest.php \Drupal\Tests\migrate\Unit\process\ObjWithString::__toString()

Returns a string.

Return value

string A string.

File

core/modules/migrate/tests/src/Unit/process/LogTest.php, line 107

Class

ObjWithString
Test class with a __toString() method.

Namespace

Drupal\Tests\migrate\Unit\process

Code

public function __toString() {
  return 'a test string';
}