You are here

public function ObjectProphecy::findProphecyMethodCalls in Zircon Profile 8

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

Finds calls by method name & arguments wildcard.

Parameters

string $methodName:

ArgumentsWildcard $wildcard:

Return value

Call[]

File

vendor/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php, line 202

Class

ObjectProphecy
Object prophecy.

Namespace

Prophecy\Prophecy

Code

public function findProphecyMethodCalls($methodName, ArgumentsWildcard $wildcard) {
  return $this->callCenter
    ->findCalls($methodName, $wildcard);
}