PHPUnit2
[ class tree: PHPUnit2 ] [ index: PHPUnit2 ] [ all elements ]

Class: PHPUnit2_Extensions_MockObject_Invocation

Source Location: /PHPUnit2-3.0.0alpha11/Extensions/MockObject/Invocation.php

Class Overview


Encapsulates information on a method invocation which can be passed to matchers.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2002-2006 Sebastian Bergmann <sb@sebastian-bergmann.de>

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 73]
Encapsulates information on a method invocation which can be passed to matchers.

The invocation consists of the object it occured from, the class name, the method name and all the parameters. The mock object must instantiate this class with the values from the mocked method and pass it to an object of PHPUnit2_Extensions_MockObject_Invokable.



[ Top ]


Class Variables

$className =

[line 77]

  • Access: public

Type:   mixed


[ Top ]

$methodName =

[line 79]

  • Access: public

Type:   mixed


[ Top ]

$object =

[line 75]

  • Access: public

Type:   mixed


[ Top ]

$parameters =

[line 81]

  • Access: public

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 83]

PHPUnit2_Extensions_MockObject_Invocation __construct( $object, $className, $methodName, $parameters)

  • Access: public

Parameters:

   $object   — 
   $className   — 
   $methodName   — 
   $parameters   — 

[ Top ]

toString   [line 91]

void toString( )

  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:40:38 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.