summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-03-09 10:37:33 -0500
committerBrian Evans <grknight@gentoo.org>2017-03-09 11:22:16 -0500
commit294a6d9202e9b03a1f55556523b9125803e3b420 (patch)
tree3fd6d97fac7bef11b64f5420d48492b020799383 /dev-php/phpdocumentor-reflection-docblock/files/autoload.php
parentdev-php/phpdocumentor-type-resolver: New package for an unbundled phpunit (diff)
downloadgentoo-294a6d9202e9b03a1f55556523b9125803e3b420.tar.gz
gentoo-294a6d9202e9b03a1f55556523b9125803e3b420.tar.bz2
gentoo-294a6d9202e9b03a1f55556523b9125803e3b420.zip
dev-php/phpdocumentor-reflection-docblock: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-php/phpdocumentor-reflection-docblock/files/autoload.php')
-rw-r--r--dev-php/phpdocumentor-reflection-docblock/files/autoload.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-php/phpdocumentor-reflection-docblock/files/autoload.php b/dev-php/phpdocumentor-reflection-docblock/files/autoload.php
new file mode 100644
index 000000000000..70091f310ed1
--- /dev/null
+++ b/dev-php/phpdocumentor-reflection-docblock/files/autoload.php
@@ -0,0 +1,14 @@
+<?php
+/* Autoloader for dev-php/phpdocumentor-reflection-common */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+Fedora\Autoloader\Autoload::addPsr4('phpDocumentor\\Reflection\\', __DIR__);
+
+\Fedora\Autoloader\Dependencies::required(array(
+ '/usr/share/php/phpDocumentor/TypeResolver/autoload.php',
+ '/usr/share/php/phpDocumentor/ReflectionCommon/autoload.php',
+ '/usr/share/php/Webmozart/Assert/autoload.php',
+));