ReturnSelf.php Interfaces, Classes and Traits PHPUnit_Framework_MockObject_Stub_ReturnSelf Stubs a method by returning the current object.