Stub.php Interfaces, Classes and Traits PHPUnit_Framework_MockObject_Builder_Stub Builder interface for stubs which are actions replacing an invocation.