added route task.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user