<?php

// autoload_real.php @generated by Composer

class ComposerAutoloaderInitstocktakeforwoocommerce_free_scoped
{
    private static $loader;

    public static function loadClassLoader($class)
    {
        if ('ErenLabs\Stocktake\Vendor\Composer\Autoload\ClassLoader' === $class) {
            require __DIR__ . '/ClassLoader.php';
        }
    }

    /**
     * @return \ErenLabs\Stocktake\Vendor\Composer\Autoload\ClassLoader
     */
    public static function getLoader()
    {
        if (null !== self::$loader) {
            return self::$loader;
        }

        require __DIR__ . '/platform_check.php';

        spl_autoload_register(array('ComposerAutoloaderInitstocktakeforwoocommerce_free_scoped', 'loadClassLoader'), true, true);
        self::$loader = $loader = new \ErenLabs\Stocktake\Vendor\Composer\Autoload\ClassLoader(\dirname(__DIR__));
        spl_autoload_unregister(array('ComposerAutoloaderInitstocktakeforwoocommerce_free_scoped', 'loadClassLoader'));

        require __DIR__ . '/autoload_static.php';
        call_user_func(\ErenLabs\Stocktake\Vendor\Composer\Autoload\ComposerStaticInitstocktakeforwoocommerce_free_scoped::getInitializer($loader));

        $loader->setClassMapAuthoritative(true);
        $loader->register(true);

        return $loader;
    }
}
