53 lines
3.4 KiB
PHP
53 lines
3.4 KiB
PHP
<?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(['7bdb062931f6e7102434c3ad28423eb6'], 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('ComposerAutoloaderInitf1ad62ff0a56f3dbf9600eef6de90a8a', 'WooCommerce\PayPalCommerce\Vendor\ComposerAutoloaderInitf1ad62ff0a56f3dbf9600eef6de90a8a');
|
|
humbug_phpscoper_expose_class('Attribute', 'WooCommerce\PayPalCommerce\Vendor\Attribute');
|
|
humbug_phpscoper_expose_class('UnhandledMatchError', 'WooCommerce\PayPalCommerce\Vendor\UnhandledMatchError');
|
|
humbug_phpscoper_expose_class('PhpToken', 'WooCommerce\PayPalCommerce\Vendor\PhpToken');
|
|
humbug_phpscoper_expose_class('Stringable', 'WooCommerce\PayPalCommerce\Vendor\Stringable');
|
|
humbug_phpscoper_expose_class('ValueError', 'WooCommerce\PayPalCommerce\Vendor\ValueError');
|
|
humbug_phpscoper_expose_class('FlattedString', 'WooCommerce\PayPalCommerce\Vendor\FlattedString');
|
|
humbug_phpscoper_expose_class('Flatted', 'WooCommerce\PayPalCommerce\Vendor\Flatted');
|
|
|
|
// Function aliases. For more information see:
|
|
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
|
|
if (!function_exists('fdiv')) { function fdiv() { return \WooCommerce\PayPalCommerce\Vendor\fdiv(...func_get_args()); } }
|
|
if (!function_exists('get_debug_type')) { function get_debug_type() { return \WooCommerce\PayPalCommerce\Vendor\get_debug_type(...func_get_args()); } }
|
|
if (!function_exists('get_resource_id')) { function get_resource_id() { return \WooCommerce\PayPalCommerce\Vendor\get_resource_id(...func_get_args()); } }
|
|
if (!function_exists('getallheaders')) { function getallheaders() { return \WooCommerce\PayPalCommerce\Vendor\getallheaders(...func_get_args()); } }
|
|
if (!function_exists('preg_last_error_msg')) { function preg_last_error_msg() { return \WooCommerce\PayPalCommerce\Vendor\preg_last_error_msg(...func_get_args()); } }
|
|
if (!function_exists('str_contains')) { function str_contains() { return \WooCommerce\PayPalCommerce\Vendor\str_contains(...func_get_args()); } }
|
|
if (!function_exists('str_ends_with')) { function str_ends_with() { return \WooCommerce\PayPalCommerce\Vendor\str_ends_with(...func_get_args()); } }
|
|
if (!function_exists('str_starts_with')) { function str_starts_with() { return \WooCommerce\PayPalCommerce\Vendor\str_starts_with(...func_get_args()); } }
|
|
|
|
return $loader;
|