public function ObjWithString::__toString in Drupal 9
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\processCode
public function __toString() {
return 'a test string';
}