primo commit
This commit is contained in:
41
libraries/regularlabs/vendor/scoper-autoload.php
vendored
Normal file
41
libraries/regularlabs/vendor/scoper-autoload.php
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
<?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(['5f78fdc9d9414feb747d08e60d2a61c3', '2766661a10d2ecd82d506a3cbcb75e67', 'cbbbb6787e04f85d19bfa7099f4a5d6d', '6accf14d13cddf27034dfb7a9a974ae1'], 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('RegularLabsInstallerScript', 'RegularLabs\Scoped\RegularLabsInstallerScript');
|
||||
humbug_phpscoper_expose_class('ComposerAutoloaderInit8353287fecf50ac51479a9e39297831c', 'RegularLabs\Scoped\ComposerAutoloaderInit8353287fecf50ac51479a9e39297831c');
|
||||
|
||||
// Function aliases. For more information see:
|
||||
// https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#function-aliases
|
||||
if (!function_exists('app')) { function app() { return \RegularLabs\Scoped\app(...func_get_args()); } }
|
||||
if (!function_exists('copyDirectory')) { function copyDirectory() { return \RegularLabs\Scoped\copyDirectory(...func_get_args()); } }
|
||||
if (!function_exists('getallheaders')) { function getallheaders() { return \RegularLabs\Scoped\getallheaders(...func_get_args()); } }
|
||||
|
||||
return $loader;
|
||||
Reference in New Issue
Block a user