function returnSelf in Zircon Profile 8
Same name and namespace in other branches
Returns the current object.
This method is useful when mocking a fluent interface.
@since Method available since Release 3.6.0
Return value
PHPUnit_Framework_MockObject_Stub_ReturnSelf
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert/ Functions.php, line 2328
Code
function returnSelf() {
return call_user_func_array('PHPUnit_Framework_TestCase::returnSelf', func_get_args());
}