You are here

public function LazyDouble::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 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\Doubler

Code

public function __construct(Doubler $doubler) {
  $this->doubler = $doubler;
}