src/Extension/Kernel.php
/**
	 * Autoloads extensions through their namespace mapping and vendor directories.
	 */
Autoloads extensions through their namespace mapping and vendor directories.
Autoloads extensions through their namespace mapping and vendor directories .
public function autoload() {
		foreach ($this->extensions as $extension) {
			foreach ($extension->getNamespaces() as $namespace => $absolutePath) {
				Autoloader::mount($namespace, $absolutePath);
			}
			foreach ($extension->getFiles() as $absolutePath) {
				Autoloader::vendor($absolutePath);
			}
		}
	}
public function autoload ( ) { foreach ( $ this -> extensions as $ extension ) { foreach ( $ extension -> getNamespaces ( ) as $ namespace => $ absolutePath ) { Autoloader :: mount ( $ namespace , $ absolutePath ) ; } foreach ( $ extension -> getFiles ( ) as $ absolutePath ) { Autoloader :: vendor ( $ absolutePath ) ; } } }
Autoloads extensions through their namespace mapping and vendor directories.
Autoloads extensions through their namespace mapping and vendor directories .
// Autoload namespaces // Autoload files