public static function installFatalHandler(
        $reservedMemory = 1048576,
        Isolator $isolator = null
    ) {
        $handler = new FatalErrorHandler(null, $isolator);
        $handler->install($reservedMemory);

        return $handler;
    }
public static function installFatalHandler(
        $reservedMemory = 1048576,
        Isolator $isolator = null
    ) {
        $handler = new FatalErrorHandler(null, $isolator);
        $handler->install($reservedMemory);

        return $handler;
    }
public static function installFatalHandler ( $ reservedMemory = 1048576 , Isolator $ isolator = null ) { $ handler = new FatalErrorHandler ( null , $ isolator ) ; $ handler -> install ( $ reservedMemory ) ; return $ handler ; }
Installs a new fatal error handler.

This handler will, on shutdown, detect any installed exception handler,
and pass an exception representing any fatal errors to said handler.

@param integer       $reservedMemory The amount of memory to reserve for fatal error handling.
@param Isolator|null $isolator       The isolator to use.

@return FatalErrorHandlerInterface The installed fatal error handler.
Installs a new fatal error handler .