"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/composer/autoload_real.php" between
grav-v1.7.17.zip and grav-v1.7.18.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.7.17):autoload_real.php  (grav-v1.7.18)
<?php <?php
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit8a79f4e184166ae376c35e6e3c9c1561 class ComposerAutoloaderInit65421386e01642410eec06c49bb17507
{ {
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';
} }
} }
skipping to change at line 27 skipping to change at line 27
* @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;
} }
require __DIR__ . '/platform_check.php'; require __DIR__ . '/platform_check.php';
spl_autoload_register(array('ComposerAutoloaderInit8a79f4e184166ae376c35 e6e3c9c1561', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInit65421386e01642410eec0 6c49bb17507', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\d irname(__FILE__))); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\d irname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit8a79f4e184166ae376c 35e6e3c9c1561', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInit65421386e01642410ee c06c49bb17507', '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 __DIR__ . '/autoload_static.php'; require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit8a79f4e184166ae3 76c35e6e3c9c1561::getInitializer($loader)); call_user_func(\Composer\Autoload\ComposerStaticInit65421386e0164241 0eec06c49bb17507::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('yAF3IUQc2rPdRhmQ52F5c'); $loader->setApcuPrefix('hF523VxPC6loNIf1OWjge');
$loader->register(true); $loader->register(true);
if ($useStaticLoader) { if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit8a79f4e184166ae3 76c35e6e3c9c1561::$files; $includeFiles = Composer\Autoload\ComposerStaticInit65421386e0164241 0eec06c49bb17507::$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) {
composerRequire8a79f4e184166ae376c35e6e3c9c1561($fileIdentifier, $fi le); composerRequire65421386e01642410eec06c49bb17507($fileIdentifier, $fi le);
} }
return $loader; return $loader;
} }
} }
function composerRequire8a79f4e184166ae376c35e6e3c9c1561($fileIdentifier, $file) function composerRequire65421386e01642410eec06c49bb17507($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)