<commit_before><?php namespace Owlgrin\Cashew;

use Illuminate\Support\ServiceProvider;
use Config;
use Stripe;

class CashewServiceProvider extends ServiceProvider {

	/**
	 * Indicates if loading of the provider is deferred.
	 *
	 * @var bool
	 */
	protected $defer = false;

	/**
	 * Register the service provider.
	 *
	 * @return void
	 */
	public function register()
	{
		$this->app->bind('Owlgrin\Cashew\Gateway\Gateway', function()
		{
		    Stripe::setApiKey(Config::get('cashew::keys.secret'));
		    return new \Owlgrin\Cashew\Gateway\StripeGateway;
		});

		$this->app->bind('Owlgrin\Cashew\Storage\Storage', 'Owlgrin\Cashew\Storage\DbStorage');

		$this->app->bindShared('command.cashew.table', function($app)
		{
			return new \Owlgrin\Cashew\Commands\CashewTableCommand;
		});

		$this->app->bindShared('command.cashew.expire', function($app)
		{
			return new \Owlgrin\Cashew\Commands\CashewExpireCommand;
		});

		$this->commands('command.cashew.table');
		$this->commands('command.cashew.expire');
		
		$this->app->singleton('cashew', 'Owlgrin\Cashew\Cashew');
	}

	public function boot()
	{
		$this->package('owlgrin/cashew');
	}

	/**
	 * Get the services provided by the provider.
	 *
	 * @return array
	 */
	public function provides()
	{
		return array();
	}

}
<commit_msg>removed unwanted code<commit_after><?php namespace Owlgrin\Cashew;

use Illuminate\Support\ServiceProvider;
use Config;
use Stripe;

class CashewServiceProvider extends ServiceProvider {

	/**
	 * Indicates if loading of the provider is deferred.
	 *
	 * @var bool
	 */
	protected $defer = false;

	/**
	 * Register the service provider.
	 *
	 * @return void
	 */
	public function register()
	{
		$this->app->bind('Owlgrin\Cashew\Gateway\Gateway', function()
		{
		    Stripe::setApiKey(Config::get('cashew::keys.secret'));
		    return new \Owlgrin\Cashew\Gateway\StripeGateway;
		});

		$this->app->bind('Owlgrin\Cashew\Storage\Storage', 'Owlgrin\Cashew\Storage\DbStorage');

		$this->app->bindShared('command.cashew.table', function($app)
		{
			return new \Owlgrin\Cashew\Commands\CashewTableCommand;
		});

		$this->app->bindShared('command.cashew.expire', function($app)
		{
			return new \Owlgrin\Cashew\Commands\CashewExpireCommand;
		});

		$this->commands('command.cashew.table');
		$this->commands('command.cashew.expire');
		
		$this->app->singleton('cashew', 'Owlgrin\Cashew\Cashew');
	}

	public function boot()
	{
		$this->package('owlgrin/cashew');
	}
}

{'fraction_non_alphanumeric': 0.1618661257606491, 'fraction_numerical': 0.0, 'mean_word_length': 4.063655030800821, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5926862', 'n_tokens_mistral': 948, 'n_tokens_neox': 851, 'n_words': 138}