You are here

function returnSelf in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \returnSelf()

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());
}