Fixes for artisan to work
This commit is contained in:
parent
a321c9517a
commit
2a9c335ece
13
artisan
13
artisan
|
|
@ -17,6 +17,17 @@ require __DIR__.'/bootstrap/autoload.php';
|
|||
|
||||
$app = require_once __DIR__.'/bootstrap/app.php';
|
||||
|
||||
|
||||
|
||||
// !!!!!
|
||||
// @todo L5 temporary code to share the Request facade
|
||||
$app->bindShared('request', function(){
|
||||
return Illuminate\Http\Request::capture();
|
||||
});
|
||||
// !!!!!
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Run The Artisan Application
|
||||
|
|
@ -35,6 +46,8 @@ $status = $kernel->handle(
|
|||
new Symfony\Component\Console\Output\ConsoleOutput
|
||||
);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Shutdown The Application
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ return [
|
|||
/*
|
||||
* Vendor providers
|
||||
*/
|
||||
'Indatus\Dispatcher\ServiceProvider',
|
||||
// @todo L5 Dispatcher broken
|
||||
// 'Indatus\Dispatcher\ServiceProvider',
|
||||
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue