PHP Classes

File: vendor/composer/autoload_real.php

Recommend this page to a friend!
  Classes of Joshua McKenzie   PHP Filesystem Helper Library   vendor/composer/autoload_real.php   Download  
File: vendor/composer/autoload_real.php
Role: Application script
Content type: text/plain
Description: Application script
Class: PHP Filesystem Helper Library
Manipulate and search files and directories
Author: By
Last change:
Date: 8 years ago
Size: 1,310 bytes
 

Contents

Class file image Download
<?php

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit9f066cf8d113a5ed821fdab577802a4e
{
    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('ComposerAutoloaderInit9f066cf8d113a5ed821fdab577802a4e', 'loadClassLoader'), true, true);
       
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
       
spl_autoload_unregister(array('ComposerAutoloaderInit9f066cf8d113a5ed821fdab577802a4e', 'loadClassLoader'));

       
$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;
    }
}