You are here

public function MethodProphecy::getObjectProphecy in Zircon Profile 8

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

Returns object prophecy this method prophecy is tied to.

Return value

ObjectProphecy

1 call to MethodProphecy::getObjectProphecy()
MethodProphecy::shouldHave in vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php
Checks provided prediction immediately.

File

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

Class

MethodProphecy
Method prophecy.

Namespace

Prophecy\Prophecy

Code

public function getObjectProphecy() {
  return $this->objectProphecy;
}