uopz_unset_mock

PECL uopz 5, PECL uopz 6, PECL uopz 7
uopz_unset_mock - Unset previously set mock
Manual
Code Examples

uopz_unset_mock( string$class ): void

Unsets the previously set mock for class.

Parameters

class

The name of the mocked class.

Return Values

No value is returned.

Exceptions and Errors

A RuntimeException is thrown, if no mock was previously set for class.

Related Functions

Example of uopz_unset_mock

Show all examples for uopz_unset_mock

PHP Version: