<commit_before><?php

namespace rpsimao\InvoiceXpressAPI;

use Illuminate\Support\ServiceProvider;
use rpsimao\InvoiceXpressAPI\Models\InvoiceXpressAPIClients;
use rpsimao\InvoiceXpressAPI\Service\InvoiceXpressAPI;
use \Config as Config;

class InvoiceXpressAPIServiceProvider extends ServiceProvider
{

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

    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
         $this->publishes([
            __DIR__.'/../config/invoicexpress.php' => $this->app->configPath().'/invoicexpress.php  ',
        ], 'ivxapi-config');

        if (! class_exists('CreateInvoiceXpressClientsTable')) {
            $timestamp = date('Y_m_d_His', time());

            $this->publishes([
                __DIR__.'/../database/migrations/create_invoice_xpress_clients_table.php.stub' => $this->app->databasePath()."/migrations/{$timestamp}_create_invoice_xpress_clients_table.php",
            ], 'ivxapi-migrations');
        }


    }

    /**
     * Register the service provider.
     *
     * @return void<commit_msg>First Draft for Production<commit_after><?php

namespace rpsimao\InvoiceXpressAPI;

use Illuminate\Support\ServiceProvider;
use rpsimao\InvoiceXpressAPI\Models\InvoiceXpressAPIClients;
use rpsimao\InvoiceXpressAPI\Service\InvoiceXpressAPI;
use \Config as Config;

class InvoiceXpressAPIServiceProvider extends ServiceProvider
{

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

    /**
     * Bootstrap the application events.
     *
     * @return void
     */
    public function boot()
    {
         $this->publishes([
            __DIR__.'/../config/invoicexpress.php' => $this->app->configPath().'/invoicexpress.php  ',
        ], 'invoicexpress');

        if (! class_exists('CreateInvoiceXpressClientsTable')) {
            $timestamp = date('Y_m_d_His', time());

            $this->publishes([
                __DIR__.'/../database/migrations/create_invoice_xpress_clients_table.php.stub' => $this->app->databasePath()."/migrations/{$timestamp}_create_invoice_xpress_clients_table.php",
            ], 'ivxapi-migrations');
        }


    }

    /**
     * Register the service provider.
     *
     * @return void
{'fraction_non_alphanumeric': 0.12734864300626306, 'fraction_numerical': 0.0, 'mean_word_length': 2.6804915514592933, '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': '918175', 'n_tokens_mistral': 756, 'n_tokens_neox': 742, 'n_words': 118}