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

Class: PHPUnit2_Extensions_MockObject_Stub_ConsecutiveCalls

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

Class Overview


Stubs a method by returning a user-defined stack of values.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 69]
Stubs a method by returning a user-defined stack of values.


[ Top ]


Method Detail

__construct (Constructor)   [line 74]

PHPUnit2_Extensions_MockObject_Stub_ConsecutiveCalls __construct( $stack)

  • Access: public

Parameters:

   $stack   — 

[ Top ]

invoke   [line 79]

void invoke( PHPUnit2_Extensions_MockObject_Invocation $invocation)

  • Access: public

Parameters:

PHPUnit2_Extensions_MockObject_Invocation   $invocation   — 

[ Top ]

toString   [line 90]

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.