PHPUnit_Framework_MockObject_Builder_Namespace
interface PHPUnit_Framework_MockObject_Builder_Namespace (View source)
Interface for builders which can register builders with a given identification.
This interface relates to PHPUnitFrameworkMockObjectBuilderIdentity.
Methods
lookupId(string $id)
Looks up the match builder with identification $id and returns it.
registerId(string $id, PHPUnit_Framework_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.
Details
at line 25
PHPUnit_Framework_MockObject_Builder_Match
lookupId(string $id)
Looks up the match builder with identification $id and returns it.
at line 35
registerId(string $id, PHPUnit_Framework_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.