<?php

// scoper-autoload.php @generated by PhpScoper

$loader = (static function () {
    // Backup the autoloaded Composer files
    $existingComposerAutoloadFiles = isset($GLOBALS['__composer_autoload_files']) ? $GLOBALS['__composer_autoload_files'] : [];

    $loader = require_once __DIR__.'/autoload.php';
    // Ensure InstalledVersions is available
    $installedVersionsPath = __DIR__.'/composer/InstalledVersions.php';
    if (file_exists($installedVersionsPath)) require_once $installedVersionsPath;

    // Restore the backup and ensure the excluded files are properly marked as loaded
    $GLOBALS['__composer_autoload_files'] = \array_merge(
        $existingComposerAutoloadFiles,
        \array_fill_keys(['3643df700757a247351b378bc7c3ac76', 'a0e0b08c070dedecd8ff9beb96142048', '165746b21dbe92f0b888e354fb81150b'], true)
    );

    return $loader;
})();

// Class aliases. For more information see:
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#class-aliases
if (!function_exists('humbug_phpscoper_expose_class')) {
    function humbug_phpscoper_expose_class($exposed, $prefixed) {
        if (!class_exists($exposed, false) && !interface_exists($exposed, false) && !trait_exists($exposed, false)) {
            spl_autoload_call($prefixed);
        }
    }
}
humbug_phpscoper_expose_class('WC_Product_Subscription_Variation', 'Mollie\WC_Product_Subscription_Variation');
humbug_phpscoper_expose_class('WC_Subscriptions_Manager', 'Mollie\WC_Subscriptions_Manager');
humbug_phpscoper_expose_class('WC_Product_Variable_Subscription', 'Mollie\WC_Product_Variable_Subscription');
humbug_phpscoper_expose_class('WC_Subscriptions_Admin', 'Mollie\WC_Subscriptions_Admin');

// Function aliases. For more information see:
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
if (!function_exists('has_block')) { function has_block() { return \Mollie\has_block(...func_get_args()); } }
if (!function_exists('untrailingslashit')) { function untrailingslashit() { return \Mollie\untrailingslashit(...func_get_args()); } }
if (!function_exists('wcs_get_subscriptions')) { function wcs_get_subscriptions() { return \Mollie\wcs_get_subscriptions(...func_get_args()); } }

return $loader;
