function MethodProphecy::bindToObjectProphecy
Return value
void
2 calls to MethodProphecy::bindToObjectProphecy()
- MethodProphecy::should in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ MethodProphecy.php - Sets custom prediction to the prophecy.
- MethodProphecy::will in vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ MethodProphecy.php - Sets custom promise to the prophecy.
File
-
vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ MethodProphecy.php, line 608
Class
- MethodProphecy
- Method prophecy.
Namespace
Prophecy\ProphecyCode
private function bindToObjectProphecy() {
if ($this->bound) {
return;
}
$this->getObjectProphecy()
->addMethodProphecy($this);
$this->bound = true;
}