<commit_before><?php

namespace rsanchez\Deep\App\Laravel;

use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
use rsanchez\Deep\Container;
use rsanchez\Deep\Model\Model;

class ServiceProvider extends LaravelServiceProvider
{
    /**
     * {@inheritdoc}
     */
    public function register()
    {
        if ($connection = $this->app['config']->get('database.deep.connection')) {
            Model::setGlobalConnection($connection);
        }

        $this->app->singleton('deep', function ($app) {
            $deep = new Container();

            $deep->boot();

            return $deep;
        });
    }
}<commit_msg>Update service provider<commit_after><?php

namespace rsanchez\Deep\App\Laravel;

use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
use rsanchez\Deep\Container;
use rsanchez\Deep\Model\Model;

class ServiceProvider extends LaravelServiceProvider
{
    /**
     * {@inheritdoc}
     */
    public function register()
    {
        $this->app->instance('rsanchez\Deep\Container', new Container());
        $this->app->alias('rsanchez\Deep\Container', 'deep');
    }

    /**
     * {@inheritdoc}
     */
    public function boot()
    {
        if ($connection = $this->app['config']->get('database.deep.connection')) {
            Model::setGlobalConnection($connection);
        }

        $this->app['deep']->boot();
    }
}
{'fraction_non_alphanumeric': 0.14895155459146783, 'fraction_numerical': 0.0, 'mean_word_length': 2.8232044198895028, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, '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': '4422440', 'n_tokens_mistral': 398, 'n_tokens_neox': 387, 'n_words': 67}