ICanBoogie/Prototype 3.0.x
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Prototype

Classes

  • Dummy

Exceptions

  • MethodNotDefined
  • MethodOutOfScope

Class MethodNotDefined

Exception thrown in attempt to access a method that is not defined.

Exception implements Throwable
Extended by LogicException
Extended by BadFunctionCallException
Extended by BadMethodCallException
Extended by ICanBoogie\Prototype\MethodNotDefined uses ICanBoogie\Accessor\AccessorTrait (not available)
Namespace: ICanBoogie\Prototype
Located at Prototype/MethodNotDefined.php

Methods summary

protected string
# get_method( )

Returns

string
protected string
# get_class( )

Returns

string
protected object|null
# get_instance( )

Returns

object|null
public
# __construct( string $method, string|object $class_or_instance, string|null $message = null, integer $code = 500, Exception $previous = null )

Parameters

$method
The method that is not defined.
$class_or_instance
The name of the class or one of its instances.
$message
If null a message is formatted with $method and $class.
$code
$previous

Inheritdoc

Overrides

Exception::__construct
protected string
# format_message( string $method, string $class )

Formats exception message.

Formats exception message.

Parameters

$method
$class

Returns

string

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

Magic properties

public read-only string $method

The method that is not defined.

public read-only string $class

The class of the instance on which the method was invoked.

public read-only object|null $instance

Instance on which the method was invoked, or null if only the class is available.

ICanBoogie/Prototype 3.0.x API documentation generated by ApiGen