You are here

public function PHPUnit_Framework_MockObject_Invokable::invoke in Zircon Profile 8

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

Invokes the invocation object $invocation so that it can be checked for expectations or matched against stubs.

Parameters

PHPUnit_Framework_MockObject_Invocation $invocation: The invocation object passed from mock object.

Return value

object

1 method overrides PHPUnit_Framework_MockObject_Invokable::invoke()
PHPUnit_Framework_MockObject_InvocationMocker::invoke in vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/InvocationMocker.php

File

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

Class

PHPUnit_Framework_MockObject_Invokable
Interface for classes which can be invoked.

Code

public function invoke(PHPUnit_Framework_MockObject_Invocation $invocation);