Revert "My first commit of codes"

This reverts commit a6e5a69348.
This commit is contained in:
sujitprasad
2015-05-01 13:27:00 +05:30
parent 6f37d10de3
commit 16ea6e1984
8487 changed files with 0 additions and 1317246 deletions

View File

@@ -1,27 +0,0 @@
<?php namespace Illuminate\Encryption;
use Illuminate\Support\ServiceProvider;
class EncryptionServiceProvider extends ServiceProvider {
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
$this->app->singleton('encrypter', function($app)
{
$encrypter = new Encrypter($app['config']['app.key']);
if ($app['config']->has('app.cipher'))
{
$encrypter->setCipher($app['config']['app.cipher']);
}
return $encrypter;
});
}
}