added key generation task.

This commit is contained in:
Taylor Otwell
2012-01-24 14:32:19 -06:00
parent 70dd657e80
commit 20b4cf7bb8
3 changed files with 64 additions and 0 deletions

View File

@@ -25,6 +25,16 @@ IoC::register('task: bundle', function()
return new Tasks\Bundle\Bundler;
});
/**
* The key task is responsible for generating a secure, random
* key for use by the application when encrypting strings or
* setting the hash values on cookie signatures.
*/
IoC::singleton('task: key', function()
{
return new Tasks\Key;
});
/**
* The bundle repository is responsible for communicating with
* the Laravel bundle sources to get information regarding any