wiki-grav/plugins/login/vendor/bacon/bacon-qr-code/autoload_function.php
2022-04-24 14:32:58 +02:00

12 lines
228 B
PHP

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