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

Class MethodOutOfScope

Exception thrown in attempt to invoke a method that is out of scope.

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

Methods summary

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

Parameters

$method
$instance
$message
$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 out of scope.

public read-only $instance : mixed

The instance on which the method was invoked.

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