public function CachedDoubler::registerClassPatch in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpspec/prophecy/src/Prophecy/Doubler/CachedDoubler.php \Prophecy\Doubler\CachedDoubler::registerClassPatch()
Registers new class patch.
Parameters
ClassPatchInterface $patch:
Overrides Doubler::registerClassPatch
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ CachedDoubler.php, line 29
Class
- CachedDoubler
- Cached class doubler. Prevents mirroring/creation of the same structure twice.
Namespace
Prophecy\DoublerCode
public function registerClassPatch(ClassPatch\ClassPatchInterface $patch) {
$this->classes[] = array();
parent::registerClassPatch($patch);
}