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 * Interface for builders which can register builders with a given identification.
14 * This interface relates to PHPUnit_Framework_MockObject_Builder_Identity.
16 * @since Interface available since Release 1.0.0
18 interface PHPUnit_Framework_MockObject_Builder_Namespace
21 * Looks up the match builder with identification $id and returns it.
23 * @param string $id The identifiction of the match builder.
24 * @return PHPUnit_Framework_MockObject_Builder_Match
26 public function lookupId($id);
29 * Registers the match builder $builder with the identification $id. The
30 * builder can later be looked up using lookupId() to figure out if it
34 * The identification of the match builder.
35 * @param PHPUnit_Framework_MockObject_Builder_Match $builder
36 * The builder which is being registered.
38 public function registerId($id, PHPUnit_Framework_MockObject_Builder_Match $builder);