Fixes for artisan to work

This commit is contained in:
Samuel Georges 2015-02-07 13:20:04 +11:00
parent a321c9517a
commit 2a9c335ece
2 changed files with 15 additions and 1 deletions

13
artisan
View File

@ -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

View File

@ -42,6 +42,7 @@ return [
/*
* Vendor providers
*/
'Indatus\Dispatcher\ServiceProvider',
// @todo L5 Dispatcher broken
// 'Indatus\Dispatcher\ServiceProvider',
];