protected function fixBootstrapper($public, $core){
		$_core 			= Utility::getCorePath($this->getAlias(), $core);
		$_public		= Utility::getPublicPath($this->getAlias(), $public);
		$core 			= Utility::findRelativePath($_public, $_core);
		$indexPath		= Utility::combinePath(Utility::getPublicPath($this->getAlias(),$public), 'index.php');
		# Auto Loader
		$autoLoader 	= \file_get_contents(__DIR__ . '/../Stubs/autoLoader.tpl');
		$autoLoader		= Utility::renderTemplate($autoLoader, ['{{CORE_PATH}}' => $core]);
		$autoLoader 	= Utility::normalizePath($autoLoader);
		# Bootstrap		
		$bootstrapper 	= \file_get_contents(__DIR__ . '/../Stubs/bootstrapper.tpl');
		$bootstrapper	= Utility::renderTemplate($bootstrapper, ['{{CORE_PATH}}' => $core]);
		$bootstrapper 	= Utility::normalizePath($bootstrapper);
		Utility::replaceInFile($indexPath, [
			'require __DIR__.\'/../bootstrap/autoload.php\';'			=> $autoLoader,
			'$app = require_once __DIR__.\'/../bootstrap/app.php\';'	=> $bootstrapper
		]);
	}
protected function fixBootstrapper($public, $core){
		$_core 			= Utility::getCorePath($this->getAlias(), $core);
		$_public		= Utility::getPublicPath($this->getAlias(), $public);
		$core 			= Utility::findRelativePath($_public, $_core);
		$indexPath		= Utility::combinePath(Utility::getPublicPath($this->getAlias(),$public), 'index.php');
		# Auto Loader
		$autoLoader 	= \file_get_contents(__DIR__ . '/../Stubs/autoLoader.tpl');
		$autoLoader		= Utility::renderTemplate($autoLoader, ['{{CORE_PATH}}' => $core]);
		$autoLoader 	= Utility::normalizePath($autoLoader);
		# Bootstrap		
		$bootstrapper 	= \file_get_contents(__DIR__ . '/../Stubs/bootstrapper.tpl');
		$bootstrapper	= Utility::renderTemplate($bootstrapper, ['{{CORE_PATH}}' => $core]);
		$bootstrapper 	= Utility::normalizePath($bootstrapper);
		Utility::replaceInFile($indexPath, [
			'require __DIR__.\'/../bootstrap/autoload.php\';'			=> $autoLoader,
			'$app = require_once __DIR__.\'/../bootstrap/app.php\';'	=> $bootstrapper
		]);
	}
protected function fixBootstrapper ( $ public , $ core ) { $ _core = Utility :: getCorePath ( $ this -> getAlias ( ) , $ core ) ; $ _public = Utility :: getPublicPath ( $ this -> getAlias ( ) , $ public ) ; $ core = Utility :: findRelativePath ( $ _public , $ _core ) ; $ indexPath = Utility :: combinePath ( Utility :: getPublicPath ( $ this -> getAlias ( ) , $ public ) , 'index.php' ) ; # Auto Loader $ autoLoader = \ file_get_contents ( __DIR__ . '/../Stubs/autoLoader.tpl' ) ; $ autoLoader = Utility :: renderTemplate ( $ autoLoader , [ '{{CORE_PATH}}' => $ core ] ) ; $ autoLoader = Utility :: normalizePath ( $ autoLoader ) ; # Bootstrap		 $ bootstrapper = \ file_get_contents ( __DIR__ . '/../Stubs/bootstrapper.tpl' ) ; $ bootstrapper = Utility :: renderTemplate ( $ bootstrapper , [ '{{CORE_PATH}}' => $ core ] ) ; $ bootstrapper = Utility :: normalizePath ( $ bootstrapper ) ; Utility :: replaceInFile ( $ indexPath , [ 'require __DIR__.\'/../bootstrap/autoload.php\';' => $ autoLoader , '$app = require_once __DIR__.\'/../bootstrap/app.php\';' => $ bootstrapper ] ) ; }
fixing laravel bootstrapper
@param  string $public alias public directory
@param  string $core   alias core directory
@return void
fixing laravel bootstrapper