<commit_before><?php

namespace AldoZumaran\Acl;

use Illuminate\Support\Facades\App;
use Illuminate\Support\ServiceProvider;

class AclServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        $this->publishes([
            __DIR__.'/config/acl.php' => config_path('acl.php'),
        ]);

        $this->publishes([
            __DIR__.'/Models' => app_path('Models/Acl'),
        ], 'models');

        $this->publishes([
            __DIR__.'/assets' => public_path('vendor/aldozumaran/acl'),
        ], 'public');

        $this->publishes([
            __DIR__.'/database' => database_path('/')
        ], 'migrations');

        $this->loadViewsFrom(__DIR__.'/views', 'acl');

        $this->publishes([
            __DIR__.'/views' => resource_path('views/vendor/aldozumaran/acl'),
        ]);

    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {

        App::singleton('Acl', function($app)
        {
            return new Acl();<commit_msg>Update AclServiceProvider.php<commit_after><?php

namespace AldoZumaran\Acl;

use Illuminate\Support\Facades\App;
use Illuminate\Support\ServiceProvider;

class AclServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        $this->publishes([
            __DIR__.'/config/acl.php' => config_path('acl.php'),
        ]);

        $this->publishes([
            __DIR__.'/Models' => app_path('Models/Acl'),
        ], 'models');

        $this->publishes([
            __DIR__.'/assets' => public_path('vendor/aldozumaran/acl'),
        ], 'public');

        $this->publishes([
            __DIR__.'/database' => database_path('/')
        ], 'migrations');


        $this->publishes([
            __DIR__.'/views' => resource_path('views/vendor/aldozumaran/acl'),
        ]);
        
        
        $this->loadViewsFrom(__DIR__.'/views', 'aldozumaran/acl');

    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {

        App::singleton('Acl', function($app)
        {
            return new Acl();
{'fraction_non_alphanumeric': 0.15649183147033535, 'fraction_numerical': 0.0, 'mean_word_length': 2.0299479166666665, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '893915', 'n_tokens_mistral': 713, 'n_tokens_neox': 696, 'n_words': 108}