src/CodeGeneration/Generator/FileCreationTransaction.php
private static function registerShutdownFunction(): bool
    {
        self::$startTime = microtime(true);
        register_shutdown_function(
            function () {
                $error = error_get_last();
                if ($error === E_ERROR && count(self::$pathsCreated) > 0) {
                    self::echoDirtyTransactionCleanupCommands();
                }
            }
        );

        return true;
    }
private static function registerShutdownFunction(): bool
    {
        self::$startTime = microtime(true);
        register_shutdown_function(
            function () {
                $error = error_get_last();
                if ($error === E_ERROR && count(self::$pathsCreated) > 0) {
                    self::echoDirtyTransactionCleanupCommands();
                }
            }
        );

        return true;
    }
private static function registerShutdownFunction ( ) : bool { self :: $ startTime = microtime ( true ) ; register_shutdown_function ( function ( ) { $ error = error_get_last ( ) ; if ( $ error === E_ERROR && count ( self :: $ pathsCreated ) > 0 ) { self :: echoDirtyTransactionCleanupCommands ( ) ; } } ) ; return true ; }
Registers our shutdown function. Will attempt to echo out the dirty file clean up commands on a fatal error

@return bool
Registers our shutdown function . Will attempt to echo out the dirty file clean up commands on a fatal error