PHP Classes
elePHPant
Icontem

File: websocket/vendor/composer/autoload_real.php

Recommend this page to a friend!
  Classes of Will Tinsdeall  >  Boiler Framework  >  websocket/vendor/composer/autoload_real.php  >  Download  
File: websocket/vendor/composer/autoload_real.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Boiler Framework
Web application framework that implements MVC
Author: By
Last change:
Date: 5 years ago
Size: 1,390 bytes
 

 

Contents

Class file image Download
<?php

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit85d204a929108ebe9ba6ab500a47b9bd
{
    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;
        }

       
spl_autoload_register(array('ComposerAutoloaderInit85d204a929108ebe9ba6ab500a47b9bd', 'loadClassLoader'), true, true);
       
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
       
spl_autoload_unregister(array('ComposerAutoloaderInit85d204a929108ebe9ba6ab500a47b9bd', 'loadClassLoader'));

       
$vendorDir = dirname(__DIR__);
       
$baseDir = dirname($vendorDir);

       
$map = require __DIR__ . '/autoload_namespaces.php';
        foreach (
$map as $namespace => $path) {
           
$loader->set($namespace, $path);
        }

       
$map = require __DIR__ . '/autoload_psr4.php';
        foreach (
$map as $namespace => $path) {
           
$loader->setPsr4($namespace, $path);
        }

       
$classMap = require __DIR__ . '/autoload_classmap.php';
        if (
$classMap) {
           
$loader->addClassMap($classMap);
        }

       
$loader->register(true);

        return
$loader;
    }
}