public function LazyDouble::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Doubler/LazyDouble.php \Prophecy\Doubler\LazyDouble::__construct()
Initializes lazy double.
Parameters
Doubler $doubler:
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ LazyDouble.php, line 38
Class
- LazyDouble
- Lazy double. Gives simple interface to describe double before creating it.
Namespace
Prophecy\DoublerCode
public function __construct(Doubler $doubler) {
$this->doubler = $doubler;
}