refactoring the cli.

This commit is contained in:
Taylor Otwell
2012-01-22 20:01:45 -06:00
parent 611f8d7e1b
commit 8cfb6d621c
4 changed files with 62 additions and 41 deletions

View File

@@ -4,21 +4,6 @@ use Laravel\IoC;
use Laravel\Bundle;
use Laravel\CLI\Tasks\Task;
IoC::singleton('bundle.repository', function()
{
return new Repository;
});
IoC::singleton('bundle.publisher', function()
{
return new Publisher;
});
IoC::singleton('bundle.provider: github', function()
{
return new Providers\Github;
});
class Bundler extends Task {
/**