We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cc586e commit 23a9149Copy full SHA for 23a9149
src/autoload.php
@@ -2,6 +2,7 @@
2
3
namespace Violet\StreamingJsonEncoder;
4
5
+// Bundled autoloader provided as an optional alternative to composer autoloader
6
spl_autoload_register(function ($class) {
7
if (strncmp($class, __NAMESPACE__, strlen(__NAMESPACE__)) === 0) {
8
$path = __DIR__ . strtr(substr($class, strlen(__NAMESPACE__)), ['\\' => DIRECTORY_SEPARATOR]) . '.php';
0 commit comments