Overview

Namespaces

  • phpmock
    • environment
    • functions
    • spy

Classes

  • Mock
  • MockBuilder

Interfaces

  • Deactivatable

Exceptions

  • MockEnabledException
  • Overview
  • Namespace
  • Class

Class MockEnabledException

Exception when enabling a mock for an already mocked function.

Exception implements Throwable
Extended by phpmock\MockEnabledException
Namespace: phpmock
License: WTFPL
Author: Markus Malkusch markus@malkusch.de
See: Mock::enable()
Link: Donations
Located at MockEnabledException.php
Methods summary
public
# __construct( string $message )

Sets the message.

Sets the message.

Parameters

$message
Exception message.

Overrides

Exception::__construct()
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from Exception
$code, $file, $line, $message
API documentation generated by ApiGen