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

Class: PHPUnit2_Extensions_MockObject_Builder_Namespace

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

Class Overview


Interface for builders which can register builders with a given identification.


Author(s):

Version:

  • Release: @package_version@

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 70]
Interface for builders which can register builders with a given identification.

This interface relates to PHPUnit2_Extensions_MockObject_Builder_Identity.



[ Top ]


Method Detail

lookupId   [line 78]

PHPUnit2_Extensions_MockObject_Builder_Match lookupId( string $id)

Looks up the match builder with identification $id and returns it.
  • Access: public

Parameters:

string   $id   —  The identifiction of the match builder.

[ Top ]

registerId   [line 88]

void registerId( string $id, PHPUnit2_Extensions_MockObject_Builder_Match $builder)

Registers the match builder $builder with the identification $id. The builder can later be looked up using lookupId() to figure out if it has been invoked.
  • Access: public

Parameters:

string   $id   —  The identification of the match builder.
PHPUnit2_Extensions_MockObject_Builder_Match   $builder   —  The builder which is being registered.

[ Top ]


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