• File: autoload.php
  • Full Path: /var/www/crm_set/application/vendor/authorizenet/authorizenet/autoload.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 362 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Custom SPL autoloader for the AuthorizeNet SDK
 *
 * @package AuthorizeNet
 */

spl_autoload_register(function($className) {
    static $classMap;

    if (!isset($classMap)) {
        $classMap = require __DIR__ . DIRECTORY_SEPARATOR . 'classmap.php';
    }

    if (isset($classMap[$className])) {
        include $classMap[$className];
    }
});