base\Event $handled

$handled public property Whether the event is handled. Defaults to false. When a handler sets this to be true, the event processing will stop and ignore the rest of the uninvoked event handlers. public boolean $handled = false

base\Event $data

$data public property The data that is passed to yii\base\Component::on() when attaching an event handler. Note that this varies according to which event handler is currently executing. public mixed $data = null

base\ErrorHandler unregister()

unregister() public method Unregisters this error handler by restoring the PHP error and exception handlers. public void unregister ( )

base\ErrorHandler renderException()

renderException() protected abstract method Renders the exception. protected abstract void renderException ( $exception )$exception Exception The exception to be rendered.

base\ErrorHandler register()

register() public method Register this error handler public void register ( )

base\ErrorHandler logException()

logException() public method (available since version 2.0.3) Logs the given exception public void logException ( $exception )$exception Exception The exception to be logged

base\ErrorHandler handleHhvmError()

handleHhvmError() public method (available since version 2.0.6) Handles HHVM execution errors such as warnings and notices. This method is used as a HHVM error handler. It will store exception that will be used in fatal error handler public boolean handleHhvmError ( $code, $message, $file, $line, $context, $backtrace )$code integer The level of the error raised. $message string The error message. $file string The filename that the error was raised in. $line integer The line number

base\ErrorHandler handleFatalError()

handleFatalError() public method Handles fatal PHP errors public void handleFatalError ( )

base\ErrorHandler handleFallbackExceptionMessage()

handleFallbackExceptionMessage() protected method (available since version 2.0.11) Handles exception thrown during exception processing in handleException(). protected void handleFallbackExceptionMessage ( $exception, $previousException )$exception Exception|\Throwable Exception that was thrown during main exception processing. $previousException Exception Main exception processed in handleException().

base\ErrorHandler handleException()

handleException() public method Handles uncaught PHP exceptions. This method is implemented as a PHP exception handler. public void handleException ( $exception )$exception Exception The exception that is not caught