We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccb2f7a commit 25af50dCopy full SHA for 25af50d
vendor_alt/autoload.php
@@ -0,0 +1,15 @@
1
+<?php
2
+spl_autoload_register(function($class) {
3
+ $prefix = 'Sounoob\\pagseguro\\';
4
+
5
+ if ( ! substr($class, 0, strlen($prefix) -1) === $prefix) {
6
+ return;
7
+ }
8
9
+ $class = substr($class, strlen($prefix));
10
+ $location = __DIR__ . '/../source/' . str_replace('\\', '/', $class) . '.php';
11
12
+ if (is_file($location)) {
13
+ require_once($location);
14
15
+});
0 commit comments