PHP 5.6.24 is released

The BadMethodCallException class

Introduction

Exception thrown if a callback refers to an undefined method or if some arguments are missing.

Class synopsis

BadMethodCallException extends BadFunctionCallException {
/* Inherited methods */
final public string Exception::getMessage ( void )
final public int Exception::getCode ( void )
final public string Exception::getFile ( void )
final public int Exception::getLine ( void )
final public array Exception::getTrace ( void )
final public string Exception::getTraceAsString ( void )
public string Exception::__toString ( void )
final private void Exception::__clone ( void )
}
add a note add a note

User Contributed Notes 1 note

up
1
piotr at polak dot ro
29 days ago
BadMethodCallException is typically used in conjunction with __call magic method.
To Top