Throwable
(PHP 7)
Introduction
Throwable is the base interface for any object that
can be thrown via a throw statement in PHP 7, including
Error and Exception.
Note:
PHP classes cannot implement the Throwable
interface directly, and must instead extend
Exception.
Interface synopsis
Throwable
{
abstract public int getCode
(
void
)
abstract public string getFile
(
void
)
abstract public int getLine
(
void
)
}
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.