You are here

public function PHPUnit_Framework_MockObject_Builder_Identity::id in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Identity.php \PHPUnit_Framework_MockObject_Builder_Identity::id()

Sets the identification of the expectation to $id.

@note The identifier is unique per mock object.

Parameters

string $id Unique identifiation of expectation.:

1 method overrides PHPUnit_Framework_MockObject_Builder_Identity::id()
PHPUnit_Framework_MockObject_Builder_InvocationMocker::id in vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/InvocationMocker.php

File

vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Builder/Identity.php, line 29

Class

PHPUnit_Framework_MockObject_Builder_Identity
Builder interface for unique identifiers.

Code

public function id($id);