You are here

public function PHPUnit_Framework_MockObject_InvocationMocker::lookupId in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php \PHPUnit_Framework_MockObject_InvocationMocker::lookupId()

Parameters

mixed $id:

Return value

bool|null

Overrides PHPUnit_Framework_MockObject_Builder_Namespace::lookupId

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php, line 58

Class

PHPUnit_Framework_MockObject_InvocationMocker
Mocker for invocations which are sent from PHPUnit_Framework_MockObject_MockObject objects.

Code

public function lookupId($id) {
  if (isset($this->builderMap[$id])) {
    return $this->builderMap[$id];
  }
  return;
}