3 * This file is part of the PHPUnit_MockObject package.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
12 * Builder interface for unique identifiers.
14 * Defines the interface for recording unique identifiers. The identifiers
15 * can be used to define the invocation order of expectations. The expectation
16 * is recorded using id() and then defined in order using
17 * PHPUnit_Framework_MockObject_Builder_Match::after().
19 * @since Interface available since Release 1.0.0
21 interface PHPUnit_Framework_MockObject_Builder_Identity
24 * Sets the identification of the expectation to $id.
26 * @note The identifier is unique per mock object.
27 * @param string $id Unique identifiation of expectation.
29 public function id($id);