/** * On shut down * * */ public function onShutdown() { if (($error = error_get_last()) && $error['type'] & error_reporting()) { $this->errbit->notify(new Fatal($error['message'], $error['file'], $error['line'])); } }