Searched refs:doubler (Results 1 – 2 of 2) sorted by relevance
32 private $doubler; variable in Prophecy\\Prophet44 * @param null|Doubler $doubler48 public function __construct(Doubler $doubler = null, RevealerInterface $revealer = null, argument51 if (null === $doubler) {52 $doubler = new Doubler;53 $doubler->registerClassPatch(new ClassPatch\SplFileInfoPatch);54 $doubler->registerClassPatch(new ClassPatch\TraversablePatch);55 $doubler->registerClassPatch(new ClassPatch\ThrowablePatch);56 $doubler->registerClassPatch(new ClassPatch\DisableConstructorPatch);57 $doubler->registerClassPatch(new ClassPatch\ProphecySubjectPatch);[all …]
27 private $doubler; variable in Prophecy\\Doubler\\LazyDouble36 * @param Doubler $doubler38 public function __construct(Doubler $doubler) argument40 $this->doubler = $doubler;117 return $this->double = $this->doubler->double(122 $this->double = $this->doubler->double($this->class, $this->interfaces);