public static function init() { if (self::$loader == null) { self::$loader = new PagSeguroAutoloader(); } return self::$loader; }
public static function init() { if (!function_exists('spl_autoload_register')) { throw new Exception("PagSeguroLibrary: Standard PHP Library (SPL) is required."); } if (self::$loader == null) { self::$loader = new PagSeguroAutoloader(); } return self::$loader; }