<commit_before><?php

namespace Laravel\Cashier;

use Illuminate\Support\ServiceProvider;

class CashierServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
        $this->loadViewsFrom(__DIR__.'/../../views', 'cashier');

        $this->publishes([
            __DIR__.'/../../views' => base_path('resources/views/vendor/cashier'),
        ]);
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bindShared('Laravel\Cashier\BillableRepositoryInterface', function () {
            return new EloquentBillableRepository;
        });

        $this->app->bindShared('command.cashier.table', function ($app) {
            return new CashierTableCommand;
        });

        $this->commands('command.cashier.table');
    }
}<commit_msg>use singleton<commit_after><?php

namespace Laravel\Cashier;

use Illuminate\Support\ServiceProvider;

class CashierServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
        $this->loadViewsFrom(__DIR__.'/../../views', 'cashier');

        $this->publishes([
            __DIR__.'/../../views' => base_path('resources/views/vendor/cashier'),
        ]);
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton('Laravel\Cashier\BillableRepositoryInterface', function () {
            return new EloquentBillableRepository;
        });

        $this->app->singleton('command.cashier.table', function ($app) {
            return new CashierTableCommand;
        });

        $this->commands('command.cashier.table');
    }
}
{'fraction_non_alphanumeric': 0.1439312567132116, 'fraction_numerical': 0.0, 'mean_word_length': 2.245644599303136, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '1781347', 'n_tokens_mistral': 537, 'n_tokens_neox': 516, 'n_words': 89}