composer
2 weeks ago
laravel
2 weeks ago
php-di
2 weeks ago
psr
2 weeks ago
smashballoon
2 weeks ago
autoload.php
2 weeks ago
scoper-autoload.php
2 weeks ago
scoper-autoload.php
35 lines
| 1 | <?php |
| 2 | |
| 3 | // scoper-autoload.php @generated by PhpScoper |
| 4 | |
| 5 | $loader = (static function () { |
| 6 | // Backup the autoloaded Composer files |
| 7 | $existingComposerAutoloadFiles = isset($GLOBALS['__composer_autoload_files']) ? $GLOBALS['__composer_autoload_files'] : []; |
| 8 | |
| 9 | $loader = require_once __DIR__.'/autoload.php'; |
| 10 | // Ensure InstalledVersions is available |
| 11 | $installedVersionsPath = __DIR__.'/composer/InstalledVersions.php'; |
| 12 | if (file_exists($installedVersionsPath)) require_once $installedVersionsPath; |
| 13 | |
| 14 | // Restore the backup and ensure the excluded files are properly marked as loaded |
| 15 | $GLOBALS['__composer_autoload_files'] = \array_merge( |
| 16 | $existingComposerAutoloadFiles, |
| 17 | \array_fill_keys([], true) |
| 18 | ); |
| 19 | |
| 20 | return $loader; |
| 21 | })(); |
| 22 | |
| 23 | // Class aliases. For more information see: |
| 24 | // https://github.com/humbug/php-scoper/blob/master/docs/further-reading.md#class-aliases |
| 25 | if (!function_exists('humbug_phpscoper_expose_class')) { |
| 26 | function humbug_phpscoper_expose_class($exposed, $prefixed) { |
| 27 | if (!class_exists($exposed, false) && !interface_exists($exposed, false) && !trait_exists($exposed, false)) { |
| 28 | spl_autoload_call($prefixed); |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | humbug_phpscoper_expose_class('ComposerAutoloaderInit374e8b068c2434a98684079770360d31', 'FacebookFeed\Vendor\ComposerAutoloaderInit374e8b068c2434a98684079770360d31'); |
| 33 | |
| 34 | return $loader; |
| 35 |