Pony.fm/vendor/composer/autoload_real.php

49 lines
1.5 KiB
PHP
Raw Normal View History

2013-07-25 23:33:04 +02:00
<?php
// autoload_real.php generated by Composer
2013-08-19 05:39:29 +02:00
class ComposerAutoloaderInit265a5d8a5cc5c33c736711894c7e0223
2013-07-25 23:33:04 +02:00
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
}
public static function getLoader()
{
if (null !== self::$loader) {
return self::$loader;
}
2013-08-19 05:39:29 +02:00
spl_autoload_register(array('ComposerAutoloaderInit265a5d8a5cc5c33c736711894c7e0223', 'loadClassLoader'), true, true);
2013-07-25 23:33:04 +02:00
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
2013-08-19 05:39:29 +02:00
spl_autoload_unregister(array('ComposerAutoloaderInit265a5d8a5cc5c33c736711894c7e0223', 'loadClassLoader'));
2013-07-25 23:33:04 +02:00
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
$loader->set($namespace, $path);
}
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
$loader->addClassMap($classMap);
}
$loader->register(true);
require $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php';
require $vendorDir . '/ircmaxell/password-compat/lib/password.php';
require $vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php';
require $vendorDir . '/kriswallsmith/assetic/src/functions.php';
return $loader;
}
}