You are here

interface PHPUnit_Framework_MockObject_Builder_Match in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Match.php \PHPUnit_Framework_MockObject_Builder_Match

Builder interface for invocation order matches.

@since Interface available since Release 1.0.0

Hierarchy

Expanded class hierarchy of PHPUnit_Framework_MockObject_Builder_Match

All classes that implement PHPUnit_Framework_MockObject_Builder_Match

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Match.php, line 16

View source
interface PHPUnit_Framework_MockObject_Builder_Match extends PHPUnit_Framework_MockObject_Builder_Stub {

  /**
   * Defines the expectation which must occur before the current is valid.
   *
   * @param  string                                    $id The identification of the expectation that should
   *                                                       occur before this one.
   * @return PHPUnit_Framework_MockObject_Builder_Stub
   */
  public function after($id);

}

Members

Namesort descending Modifiers Type Description Overrides
PHPUnit_Framework_MockObject_Builder_Identity::id public function Sets the identification of the expectation to $id. 1
PHPUnit_Framework_MockObject_Builder_Match::after public function Defines the expectation which must occur before the current is valid. 1
PHPUnit_Framework_MockObject_Builder_Stub::will public function Stubs the matching method with the stub object $stub. Any invocations of the matched method will now be handled by the stub instead. 1