summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-11-30 00:33:10 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-11-30 01:39:13 +0100
commitaebde57f59d3874349f35b8aaf837a4275cfed72 (patch)
tree6e79b3ec72893a99f0196e13e7b1758445e50dcb /dev-php/zetacomponents-Base/files
parentdev-php/theseer-DirectoryScanner: new package (diff)
downloadgentoo-aebde57f59d3874349f35b8aaf837a4275cfed72.tar.gz
gentoo-aebde57f59d3874349f35b8aaf837a4275cfed72.tar.bz2
gentoo-aebde57f59d3874349f35b8aaf837a4275cfed72.zip
dev-php/zetacomponents-Base: 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/zetacomponents-Base/files')
-rw-r--r--dev-php/zetacomponents-Base/files/autoload.php53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-php/zetacomponents-Base/files/autoload.php b/dev-php/zetacomponents-Base/files/autoload.php
new file mode 100644
index 000000000000..17bec81a6d2e
--- /dev/null
+++ b/dev-php/zetacomponents-Base/files/autoload.php
@@ -0,0 +1,53 @@
+<?php
+// @codingStandardsIgnoreFile
+// @codeCoverageIgnoreStart
+// this is an autogenerated file - do not edit
+spl_autoload_register(
+ function($class) {
+ static $classes = null;
+ if ($classes === null) {
+ $classes = array(
+ 'ezcbase' => '/base.php',
+ 'ezcbaseautoloadexception' => '/exceptions/autoload.php',
+ 'ezcbaseautoloadoptions' => '/options/autoload.php',
+ 'ezcbaseconfigurationinitializer' => '/interfaces/configuration_initializer.php',
+ 'ezcbasedoubleclassrepositoryprefixexception' => '/exceptions/double_class_repository_prefix.php',
+ 'ezcbaseexception' => '/exceptions/exception.php',
+ 'ezcbaseexportable' => '/interfaces/exportable.php',
+ 'ezcbaseextensionnotfoundexception' => '/exceptions/extension_not_found.php',
+ 'ezcbasefeatures' => '/features.php',
+ 'ezcbasefile' => '/file.php',
+ 'ezcbasefileexception' => '/exceptions/file_exception.php',
+ 'ezcbasefilefindcontext' => '/structs/file_find_context.php',
+ 'ezcbasefileioexception' => '/exceptions/file_io.php',
+ 'ezcbasefilenotfoundexception' => '/exceptions/file_not_found.php',
+ 'ezcbasefilepermissionexception' => '/exceptions/file_permission.php',
+ 'ezcbasefunctionalitynotsupportedexception' => '/exceptions/functionality_not_supported.php',
+ 'ezcbaseinit' => '/init.php',
+ 'ezcbaseinitcallbackconfiguredexception' => '/exceptions/init_callback_configured.php',
+ 'ezcbaseinitinvalidcallbackclassexception' => '/exceptions/invalid_callback_class.php',
+ 'ezcbaseinvalidparentclassexception' => '/exceptions/invalid_parent_class.php',
+ 'ezcbasemetadata' => '/metadata.php',
+ 'ezcbasemetadatapearreader' => '/metadata/pear.php',
+ 'ezcbasemetadatatarballreader' => '/metadata/tarball.php',
+ 'ezcbaseoptions' => '/options.php',
+ 'ezcbasepersistable' => '/interfaces/persistable.php',
+ 'ezcbasepropertynotfoundexception' => '/exceptions/property_not_found.php',
+ 'ezcbasepropertypermissionexception' => '/exceptions/property_permission.php',
+ 'ezcbaserepositorydirectory' => '/structs/repository_directory.php',
+ 'ezcbasesettingnotfoundexception' => '/exceptions/setting_not_found.php',
+ 'ezcbasesettingvalueexception' => '/exceptions/setting_value.php',
+ 'ezcbasestruct' => '/struct.php',
+ 'ezcbasevalueexception' => '/exceptions/value.php',
+ 'ezcbasewhateverexception' => '/exceptions/whatever.php'
+ );
+ }
+ $cn = strtolower($class);
+ if (isset($classes[$cn])) {
+ require __DIR__ . $classes[$cn];
+ }
+ },
+ true,
+ false
+);
+// @codeCoverageIgnoreEnd