You are here

public function CallPrediction::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Prediction/CallPrediction.php \Prophecy\Prediction\CallPrediction::__construct()

Initializes prediction.

Parameters

StringUtil $util:

File

vendor/phpspec/prophecy/src/Prophecy/Prediction/CallPrediction.php, line 36

Class

CallPrediction
Call prediction.

Namespace

Prophecy\Prediction

Code

public function __construct(StringUtil $util = null) {
  $this->util = $util ?: new StringUtil();
}