summaryrefslogtreecommitdiff
path: root/dev-php/theseer-Autoload/files/autoload.php.tpl
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-11-30 00:38:11 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-11-30 01:39:15 +0100
commit6083c01b19d77bff46f257539f918287c5f8139b (patch)
tree13d633129d55f2ccd75b6171720a1628b078fa64 /dev-php/theseer-Autoload/files/autoload.php.tpl
parentac743fea8b3bf9fe4d661aa00a95910531d65d48 (diff)
downloadgentoo-6083c01b19d77bff46f257539f918287c5f8139b.tar.gz
gentoo-6083c01b19d77bff46f257539f918287c5f8139b.tar.bz2
gentoo-6083c01b19d77bff46f257539f918287c5f8139b.zip
dev-php/theseer-Autoload: new package
Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php/theseer-Autoload/files/autoload.php.tpl')
-rw-r--r--dev-php/theseer-Autoload/files/autoload.php.tpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-php/theseer-Autoload/files/autoload.php.tpl b/dev-php/theseer-Autoload/files/autoload.php.tpl
new file mode 100644
index 000000000000..cb88eb77c450
--- /dev/null
+++ b/dev-php/theseer-Autoload/files/autoload.php.tpl
@@ -0,0 +1,26 @@
+<?php
+
+require_once 'TheSeer/DirectoryScanner/autoload.php';
+require_once 'ezc/Base/autoload.php';
+require_once 'ezc/ConsoleTools/autoload.php';
+
+// @codingStandardsIgnoreFile
+// @codeCoverageIgnoreStart
+// this is an autogenerated file - do not edit
+spl_autoload_register(
+ function($class) {
+ static $classes = null;
+ if ($classes === null) {
+ $classes = array(
+ ___CLASSLIST___
+ );
+ }
+ $cn = strtolower($class);
+ if (isset($classes[$cn])) {
+ require ___BASEDIR___$classes[$cn];
+ }
+ },
+ true,
+ false
+);
+// @codeCoverageIgnoreEnd