Throwable

(PHP 7)

Einführung

Throwable is the base interface for any object that can be thrown via a throw statement in PHP 7, including Error and Exception.

Hinweis:

PHP classes cannot implement the Throwable interface directly, and must instead extend Exception.

Interface-Übersicht

Throwable {
/* Methoden */
abstract public getMessage ( void ) : string
abstract public getCode ( void ) : int
abstract public getFile ( void ) : string
abstract public getLine ( void ) : int
abstract public getTrace ( void ) : array
abstract public getTraceAsString ( void ) : string
abstract public getPrevious ( void ) : Throwable
abstract public __toString ( void ) : string
}

Inhaltsverzeichnis