public function PHPUnit_Framework_MockObject_Builder_Namespace::registerId in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Namespace.php \PHPUnit_Framework_MockObject_Builder_Namespace::registerId()
Registers the match builder $builder with the identification $id. The builder can later be looked up using lookupId() to figure out if it has been invoked.
Parameters
string $id: The identification of the match builder.
PHPUnit_Framework_MockObject_Builder_Match $builder: The builder which is being registered.
1 method overrides PHPUnit_Framework_MockObject_Builder_Namespace::registerId()
- PHPUnit_Framework_MockObject_InvocationMocker::registerId in vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ InvocationMocker.php
File
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Builder/ Namespace.php, line 38
Class
- PHPUnit_Framework_MockObject_Builder_Namespace
- Interface for builders which can register builders with a given identification.
Code
public function registerId($id, PHPUnit_Framework_MockObject_Builder_Match $builder);