Skip to content

Commit df49a20

Browse files
Merge pull request #114 from square/mcurtis/example-autoload
updated example-autoload.php to use core-lib and core-interfaces
2 parents f6af260 + 3b93811 commit df49a20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

example-autoload.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
$prefixToLocation = [
2525
"Square\\" => "/square-php-sdk/src/",
2626
"apimatic\\jsonmapper\\" => "/jsonmapper/src/",
27-
// This is the Namespace and location from Apimatic/Unirest's composer.json
2827
"Unirest\\" => "/unirest-php/src/",
28+
"Core\\" => "/core-lib-php/src/",
29+
"CoreInterfaces\\" => "/core-interfaces-php/src/",
2930
];
3031

3132
$matchingPrefix;
@@ -58,4 +59,4 @@
5859
}else {
5960
echo("Error loading: " . $file . "\r\n");
6061
}
61-
});
62+
});

0 commit comments

Comments
 (0)