<commit_before><?php

namespace Mixdinternet\Mmails\Providers;

use Illuminate\Support\ServiceProvider;
use Mixdinternet\Mmails\Mmail;
use Menu;

class MmailsServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        $this->setMenu();

        $this->setRoutes();

        $this->setRouterBind();

        $this->loadViews();

        $this->publish();
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind('mmail', function ($app) {
            return new \Mixdinternet\Mmails\Services\Mmail();
        });
    }

    protected function setMenu()
    {
        Menu::modify('adminlte-sidebar', function ($menu) {
            $menu->route('admin.mmails.index', 'Envios', [], 210
                , ['icon' => 'fa fa-paper-plane', 'active' => function () {<commit_msg>Registrar o facade Mmail no service provider<commit_after><?php

namespace Mixdinternet\Mmails\Providers;

use Illuminate\Support\ServiceProvider;
use Mixdinternet\Mmails\Mmail;
use Menu;

class MmailsServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        $this->setMenu();

        $this->setRoutes();

        $this->setRouterBind();

        $this->loadViews();

        $this->publish();
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->bind('mmail', function ($app) {
            return new \Mixdinternet\Mmails\Services\Mmail();
        });

        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
        $loader->alias('Mmail', \Mixdinternet\Mmails\Facade\MmailFacade::class);
    }

    protected function setMenu()
    {
        Menu::modify('adminlte-sidebar', function ($menu) {
            $menu->route('admin.mmails.index', 'Envios', [], 210
                , ['icon' => 'fa fa-paper-plane', 'active' => function () {
{'fraction_non_alphanumeric': 0.14667291471415184, 'fraction_numerical': 0.0028116213683223993, 'mean_word_length': 2.3307332293291734, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 24, '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': '117504', 'n_tokens_mistral': 647, 'n_tokens_neox': 624, 'n_words': 122}