summaryrefslogtreecommitdiff
path: root/dev-php/json-schema/files/autoload.php
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/json-schema/files/autoload.php')
-rw-r--r--dev-php/json-schema/files/autoload.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-php/json-schema/files/autoload.php b/dev-php/json-schema/files/autoload.php
new file mode 100644
index 000000000000..c8a6c8a8b715
--- /dev/null
+++ b/dev-php/json-schema/files/autoload.php
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Autoloader for justinrainbow/json-schema and its dependencies
+ */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addPsr4('JsonSchema\\', __DIR__);