class ObjWithString
Test class with a __toString() method.
Hierarchy
- class \Drupal\Tests\migrate\Unit\process\ObjWithString
 
Expanded class hierarchy of ObjWithString
File
- 
              core/
modules/ migrate/ tests/ src/ Unit/ process/ LogTest.php, line 101  
Namespace
Drupal\Tests\migrate\Unit\processView source
class ObjWithString {
  
  /**
   * Returns a string.
   *
   * @return string
   *   A string.
   */
  public function __toString() {
    return 'a test string';
  }
}
Members
| Title Sort descending | Modifiers | Object type | Summary | 
|---|---|---|---|
| ObjWithString::__toString | public | function | Returns a string. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.