Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: /** Chris@0: * Builder interface for unique identifiers. Chris@0: * Chris@0: * Defines the interface for recording unique identifiers. The identifiers Chris@0: * can be used to define the invocation order of expectations. The expectation Chris@0: * is recorded using id() and then defined in order using Chris@0: * PHPUnit_Framework_MockObject_Builder_Match::after(). Chris@0: * Chris@0: * @since Interface available since Release 1.0.0 Chris@0: */ Chris@0: interface PHPUnit_Framework_MockObject_Builder_Identity Chris@0: { Chris@0: /** Chris@0: * Sets the identification of the expectation to $id. Chris@0: * Chris@0: * @note The identifier is unique per mock object. Chris@0: * @param string $id Unique identifiation of expectation. Chris@0: */ Chris@0: public function id($id); Chris@0: }