[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/laminas/laminas-zendframework-bridge/src/ -> Autoloader.php (summary)

(no description)

Copyright: https://github.com/laminas/laminas-zendframework-bridge/blob/master/COPYRIGHT.md
License: https://github.com/laminas/laminas-zendframework-bridge/blob/master/LICENSE.md New BSD License
File Size: 172 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 libraries/vendor/autoload.php

Defines 1 class

Autoloader:: (4 methods):
  load()
  getClassLoader()
  createPrependAutoloader()
  createAppendAutoloader()


Class: Autoloader  - X-Ref

Alias legacy Zend Framework project classes/interfaces/traits to Laminas equivalents.

load()   X-Ref
Attach autoloaders for managing legacy ZF artifacts.

We attach two autoloaders:

- The first is _prepended_ to handle new classes and add aliases for
legacy classes. PHP expects any interfaces implemented, classes
extended, or traits used when declaring class_alias() to exist and/or
be autoloadable already at the time of declaration. If not, it will
raise a fatal error. This autoloader helps mitigate errors in such
situations.

- The second is _appended_ in order to create aliases for legacy
classes.

getClassLoader()   X-Ref

return: ClassLoader

createPrependAutoloader(array $namespaces, ClassLoader $classLoader, ArrayObject $loaded)   X-Ref

return: callable

createAppendAutoloader(array $namespaces, ArrayObject $loaded)   X-Ref

return: callable



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer