Example #1
0
| as they are not currently supported by plain HTML form setups.
|
*/
Request::enableHttpMethodParameterOverride();
/*
|--------------------------------------------------------------------------
| Register The Core Service Providers
|--------------------------------------------------------------------------
|
| The Illuminate core service providers register all of the core pieces
| of the Illuminate framework including session, caching, encryption
| and more. It's simply a convenient wrapper for the registration.
|
*/
$manifestPath = $config['manifest'];
$services = new ProviderRepository(new Filesystem(), $manifestPath);
$services->load($app, $config['providers']);
/*
|--------------------------------------------------------------------------
| Boot The Application
|--------------------------------------------------------------------------
|
| Before we handle the requests we need to make sure the application has
| been booted up. The boot process will call the "boot" method on all
| service provider giving all a chance to register their overrides.
|
*/
$app->boot();
/*
|--------------------------------------------------------------------------
| Load The Application Start Script
Example #2
0
 /**
  * Make sure that the when element is part of the generated manifest array.
  *
  * @param array $providers
  * @return array
  */
 protected function freshManifest(array $providers)
 {
     return array_merge($this->default, parent::freshManifest($providers));
 }