<commit_before><?php

namespace Tokenly\Insight;


use Exception;
use Illuminate\Support\ServiceProvider;
use Tokenly\Insight\Client;

/*
* InsightServiceProvider
*/
class InsightServiceProvider extends ServiceProvider
{

    public function boot()
    {
        $this->package('tokenly/insight-client', 'insight-client', __DIR__.'/../../');
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind('Tokenly\Insight\Client', function($app) {
            $config = $app['config']['insight-client::insight'];
            $client = new Client($config['connection_string']);
            return $client;
        });
    }

}
<commit_msg>moved init to register method<commit_after><?php

namespace Tokenly\Insight;


use Exception;
use Illuminate\Support\ServiceProvider;
use Tokenly\Insight\Client;

/*
* InsightServiceProvider
*/
class InsightServiceProvider extends ServiceProvider
{


    public function boot()
    {
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $this->package('tokenly/insight-client', 'insight-client', __DIR__.'/../../');

        $this->app->bind('Tokenly\Insight\Client', function($app) {
            $config = $app['config']['insight-client::insight'];
            $client = new Client($config['connection_string']);
            return $client;
        });
    }

}

{'fraction_non_alphanumeric': 0.14850136239782016, 'fraction_numerical': 0.0, 'mean_word_length': 2.6451612903225805, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7478933', 'n_tokens_mistral': 426, 'n_tokens_neox': 423, 'n_words': 80}