added route task.

This commit is contained in:
Taylor Otwell
2012-02-01 15:22:25 -06:00
parent 10ee41f3b3
commit baac975fc6
2 changed files with 66 additions and 0 deletions

View File

@@ -46,6 +46,16 @@ IoC::singleton('task: session', function()
return new Tasks\Session\Manager;
});
/**
* The route task is responsible for calling routes within the
* application and dumping the result. This allows for simple
* testing of APIs and JSON based applications.
*/
IoC::singleton('task: route', function()
{
return new Tasks\Route;
});
/**
* The "test" task is responsible for running the unit tests for
* the application, bundles, and the core framework itself.