public function PHPUnit_Framework_MockObject_Stub_ReturnSelf::toString in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ReturnSelf.php \PHPUnit_Framework_MockObject_Stub_ReturnSelf::toString()
Returns a string representation of the object.
Return value
string
Overrides PHPUnit_Framework_SelfDescribing::toString
File
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Stub/ ReturnSelf.php, line 30
Class
- PHPUnit_Framework_MockObject_Stub_ReturnSelf
- Stubs a method by returning the current object.
Code
public function toString() {
return 'return the current object';
}