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: * Interface for builders which can register builders with a given identification. Chris@0: * Chris@0: * This interface relates to PHPUnit_Framework_MockObject_Builder_Identity. Chris@0: * Chris@0: * @since Interface available since Release 1.0.0 Chris@0: */ Chris@0: interface PHPUnit_Framework_MockObject_Builder_Namespace Chris@0: { Chris@0: /** Chris@0: * Looks up the match builder with identification $id and returns it. Chris@0: * Chris@0: * @param string $id The identifiction of the match builder. Chris@0: * @return PHPUnit_Framework_MockObject_Builder_Match Chris@0: */ Chris@0: public function lookupId($id); Chris@0: Chris@0: /** Chris@0: * Registers the match builder $builder with the identification $id. The Chris@0: * builder can later be looked up using lookupId() to figure out if it Chris@0: * has been invoked. Chris@0: * Chris@0: * @param string $id Chris@0: * The identification of the match builder. Chris@0: * @param PHPUnit_Framework_MockObject_Builder_Match $builder Chris@0: * The builder which is being registered. Chris@0: */ Chris@0: public function registerId($id, PHPUnit_Framework_MockObject_Builder_Match $builder); Chris@0: }