src/Foundation/Kernel.php
/**
	 * Starts the autoloader and mounts core namespaces.
	 */
Starts the autoloader and mounts core namespaces.
Starts the autoloader and mounts core namespaces .
private function autoload() {
		$namespaces = config('autoloader.namespaces');
		if (!isset($namespaces)) {
			echo "Horizon could not locate the config directory!";
			exit(1);
		}
		foreach ($namespaces as $namespace => $relativePath) {
			Autoloader::mount($namespace, Application::root($relativePath));
		}
	}
private function autoload ( ) { $ namespaces = config ( 'autoloader.namespaces' ) ; if ( ! isset ( $ namespaces ) ) { echo " Horizon could not locate the config directory! " ; exit ( 1 ) ; } foreach ( $ namespaces as $ namespace => $ relativePath ) { Autoloader :: mount ( $ namespace , Application :: root ( $ relativePath ) ) ; } }
Starts the autoloader and mounts core namespaces.
Starts the autoloader and mounts core namespaces .