"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/composer/autoload_real.php" between
grav-v1.6.25.zip and grav-v1.6.26.zip

About: Grav is a fast, simple, and flexible flat-file based CMS platform (using YAML and PHP). Contents are just simple markdown files in folders with optional extensions via API and hooks.

autoload_real.php  (grav-v1.6.25):autoload_real.php  (grav-v1.6.26)
<?php <?php
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInitfb45af02b11b43c63d4bb167090ceaa4 class ComposerAutoloaderInit3054f32c7dee1c969228bc662baff784
{ {
private static $loader; private static $loader;
public static function loadClassLoader($class) public static function loadClassLoader($class)
{ {
if ('Composer\Autoload\ClassLoader' === $class) { if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php'; require __DIR__ . '/ClassLoader.php';
} }
} }
/** /**
* @return \Composer\Autoload\ClassLoader * @return \Composer\Autoload\ClassLoader
*/ */
public static function getLoader() public static function getLoader()
{ {
if (null !== self::$loader) { if (null !== self::$loader) {
return self::$loader; return self::$loader;
} }
spl_autoload_register(array('ComposerAutoloaderInitfb45af02b11b43c63d4bb 167090ceaa4', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInit3054f32c7dee1c969228b c662baff784', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(); self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInitfb45af02b11b43c63d4 bb167090ceaa4', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInit3054f32c7dee1c96922 8bc662baff784', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') & & (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') & & (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) { if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php'; require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInitfb45af02b11b43c6 3d4bb167090ceaa4::getInitializer($loader)); call_user_func(\Composer\Autoload\ComposerStaticInit3054f32c7dee1c96 9228bc662baff784::getInitializer($loader));
} else { } else {
$map = require __DIR__ . '/autoload_namespaces.php'; $map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) { foreach ($map as $namespace => $path) {
$loader->set($namespace, $path); $loader->set($namespace, $path);
} }
$map = require __DIR__ . '/autoload_psr4.php'; $map = require __DIR__ . '/autoload_psr4.php';
foreach ($map as $namespace => $path) { foreach ($map as $namespace => $path) {
$loader->setPsr4($namespace, $path); $loader->setPsr4($namespace, $path);
} }
$classMap = require __DIR__ . '/autoload_classmap.php'; $classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) { if ($classMap) {
$loader->addClassMap($classMap); $loader->addClassMap($classMap);
} }
} }
$loader->setApcuPrefix('J1NPp2MIcc4llc5InHlfD'); $loader->setApcuPrefix('xTQZp0JueV6WXzWOxZEkc');
$loader->register(true); $loader->register(true);
if ($useStaticLoader) { if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInitfb45af02b11b43c6 3d4bb167090ceaa4::$files; $includeFiles = Composer\Autoload\ComposerStaticInit3054f32c7dee1c96 9228bc662baff784::$files;
} else { } else {
$includeFiles = require __DIR__ . '/autoload_files.php'; $includeFiles = require __DIR__ . '/autoload_files.php';
} }
foreach ($includeFiles as $fileIdentifier => $file) { foreach ($includeFiles as $fileIdentifier => $file) {
composerRequirefb45af02b11b43c63d4bb167090ceaa4($fileIdentifier, $fi le); composerRequire3054f32c7dee1c969228bc662baff784($fileIdentifier, $fi le);
} }
return $loader; return $loader;
} }
} }
function composerRequirefb45af02b11b43c63d4bb167090ceaa4($fileIdentifier, $file) function composerRequire3054f32c7dee1c969228bc662baff784($fileIdentifier, $file)
{ {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file; require $file;
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
} }
} }
 End of changes. 8 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)