"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/composer/autoload_real.php" between
sabredav-3.1.2.zip and sabredav-3.1.3.zip

About: SabreDAV allows you to easily add WebDAV support to a PHP application.

autoload_real.php  (sabredav-3.1.2):autoload_real.php  (sabredav-3.1.3)
<?php <?php
// autoload_real.php @generated by Composer // autoload_real.php @generated by Composer
class ComposerAutoloaderInit5a746c306bbf76cd661e72b91bea65cc class ComposerAutoloaderInit15cab9ce9e53521bb4f9807a32118ed6
{ {
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';
} }
} }
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('ComposerAutoloaderInit5a746c306bbf76cd661e7 2b91bea65cc', 'loadClassLoader'), true, true); spl_autoload_register(array('ComposerAutoloaderInit15cab9ce9e53521bb4f98 07a32118ed6', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(); self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit5a746c306bbf76cd661 e72b91bea65cc', 'loadClassLoader')); spl_autoload_unregister(array('ComposerAutoloaderInit15cab9ce9e53521bb4f 9807a32118ed6', 'loadClassLoader'));
$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->register(true); $loader->register(true);
$includeFiles = require __DIR__ . '/autoload_files.php'; $includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $fileIdentifier => $file) { foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire5a746c306bbf76cd661e72b91bea65cc($fileIdentifier, $fi le); composerRequire15cab9ce9e53521bb4f9807a32118ed6($fileIdentifier, $fi le);
} }
return $loader; return $loader;
} }
} }
function composerRequire5a746c306bbf76cd661e72b91bea65cc($fileIdentifier, $file) function composerRequire15cab9ce9e53521bb4f9807a32118ed6($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. 5 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS