You are here

public function NoCallsPrediction::__construct in Zircon Profile 8

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

Initializes prediction.

Parameters

null|StringUtil $util:

File

vendor/phpspec/prophecy/src/Prophecy/Prediction/NoCallsPrediction.php, line 34

Class

NoCallsPrediction
No calls prediction.

Namespace

Prophecy\Prediction

Code

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