src/exceptions/Handler.php
public static function checkFatal() {
		$error = error_get_last();
		if( $error && static::isFatal($error['type']) ) {
			Yolk::exception(new \ErrorException($error['message'], 0, $error['type'], $error['file'], $error['line']));
		}
	}
public static function checkFatal() {
		$error = error_get_last();
		if( $error && static::isFatal($error['type']) ) {
			Yolk::exception(new \ErrorException($error['message'], 0, $error['type'], $error['file'], $error['line']));
		}
	}
public static function checkFatal ( ) { $ error = error_get_last ( ) ; if ( $ error && static :: isFatal ( $ error [ 'type' ] ) ) { Yolk :: exception ( new \ ErrorException ( $ error [ 'message' ] , 0 , $ error [ 'type' ] , $ error [ 'file' ] , $ error [ 'line' ] ) ) ; } }
Shutdown function to catch fatal errors.
@return void
Shutdown function to catch fatal errors .