wiki-grav/plugins/login/vendor/bacon/bacon-qr-code/autoload_function.php

12 lines
228 B
PHP
Raw Normal View History

<?php
return function ($class) {
static $map;
if (!$map) {
$map = include __DIR__ . '/autoload_classmap.php';
}
if (!isset($map[$class])) {
return false;
}
return include $map[$class];
};