Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MethodProphecy.php

function MethodProphecy::getObjectProphecy

Returns object prophecy this method prophecy is tied to.

Return value

ObjectProphecy<object>

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 572

Class

MethodProphecy
Method prophecy.

Namespace

Prophecy\Prophecy

Code

public function getObjectProphecy() {
    return $this->objectProphecy;
}
RSS feed
Powered by Drupal