Lines Matching refs:doubler
32 private $doubler; variable in Prophecy\\Prophet
44 * @param null|Doubler $doubler
48 public function __construct(Doubler $doubler = null, RevealerInterface $revealer = null, argument
51 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);
58 $doubler->registerClassPatch(new ClassPatch\ReflectionClassNewInstancePatch);
59 $doubler->registerClassPatch(new ClassPatch\HhvmExceptionPatch());
60 $doubler->registerClassPatch(new ClassPatch\MagicCallPatch);
61 $doubler->registerClassPatch(new ClassPatch\KeywordPatch);
64 $this->doubler = $doubler;
79 new LazyDouble($this->doubler),
112 return $this->doubler;