PHP Classes

File: vendor/composer/autoload_real.php

Recommend this page to a friend!
  Classes of Victor Henrique Pereira   DB Manager Logger   vendor/composer/autoload_real.php   Download  
File: vendor/composer/autoload_real.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: DB Manager Logger
Execute and log MySQL queries using PDO
Author: By
Last change: minor changes in docs
update namespaces
Date: 9 years ago
Size: 1,581 bytes
 

Contents

Class file image Download
<?php

// autoload_real.php @generated by Composer

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

       
$includePaths = require __DIR__ . '/include_paths.php';
       
array_push($includePaths, get_include_path());
       
set_include_path(join(PATH_SEPARATOR, $includePaths));

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

function
composerRequirecca21db40df8461b2472f2cb8f128e32($file)
{
    require
$file;
}