You are here

public function MethodProphecy::getPrediction in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php \Prophecy\Prophecy\MethodProphecy::getPrediction()

Returns currently registered prediction.

Return value

null|Prediction\PredictionInterface

File

vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php, line 383

Class

MethodProphecy
Method prophecy.

Namespace

Prophecy\Prophecy

Code

public function getPrediction() {
  return $this->prediction;
}