- Created CHANGELOG.md to maintain version history. - Added README.md with usage instructions for the trigger_deprecation() function. - Initialized composer.json for the Symfony Deprecation Contracts library, specifying dependencies and autoloading.
40 lines
1.2 KiB
PHP
40 lines
1.2 KiB
PHP
<?php
|
|
|
|
// autoload_real.php @generated by Composer
|
|
|
|
class ComposerAutoloaderInitec1a73316f7c92d3ccef54b8d0420c77
|
|
{
|
|
private static $loader;
|
|
|
|
public static function loadClassLoader($class)
|
|
{
|
|
if ('Composer\Autoload\ClassLoader' === $class) {
|
|
require __DIR__ . '/ClassLoader.php';
|
|
}
|
|
}
|
|
|
|
/**
|
|
* @return \Composer\Autoload\ClassLoader
|
|
*/
|
|
public static function getLoader()
|
|
{
|
|
if (null !== self::$loader) {
|
|
return self::$loader;
|
|
}
|
|
|
|
require __DIR__ . '/platform_check.php';
|
|
|
|
spl_autoload_register(array('ComposerAutoloaderInitec1a73316f7c92d3ccef54b8d0420c77', 'loadClassLoader'), true, false);
|
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
|
spl_autoload_unregister(array('ComposerAutoloaderInitec1a73316f7c92d3ccef54b8d0420c77', 'loadClassLoader'));
|
|
|
|
require __DIR__ . '/autoload_static.php';
|
|
call_user_func(\Composer\Autoload\ComposerStaticInitec1a73316f7c92d3ccef54b8d0420c77::getInitializer($loader));
|
|
|
|
$loader->setClassMapAuthoritative(true);
|
|
$loader->register(false);
|
|
|
|
return $loader;
|
|
}
|
|
}
|