ICanBoogie
  • Documentation
  • API Reference
  • Prototype v2.1.0
Namespaces
  • ICanBoogie
    • Prototype
Classes
  • Helpers
  • Hooks
Exceptions
  • MethodNotDefined
  • MethodOutOfScope

Class MethodNotDefined

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

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

Methods summary

protected get_method( void )
protected get_class( void )
protected get_instance( void )
public __construct( string $method, string|object $class, string|null $message = null, integer $code = 500, Exception $previous = null )

Parameters

$method
The method that is not defined.
$class
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

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 $method : string

The method that is not defined.

public read-only $class : mixed

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

public read-only $instance : object|null

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

Prototype v2.1.0 – Check on GitHub – API documentation generated by ApiGen