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 e7e65de commit 70f748aCopy full SHA for 70f748a
src/PhpImap/__autoload.php
@@ -0,0 +1,8 @@
1
+<?php namespace PhpImap;
2
+
3
+spl_autoload_register(function ($class) {
4
+ if(strpos($class, __NAMESPACE__) === 0) {
5
+ /** @noinspection PhpIncludeInspection */
6
+ require_once(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php');
7
+ }
8
+});
0 commit comments