<commit_before><?php

namespace Acme\Acme;

use Bootstrap\Services\Service\ServiceProvider;
use Acme\Acme\App\Console\AcmeConsoleCommand;

class AcmeServiceProvider extends ServiceProvider
{
    protected $_alias = 'acme';

    public function boot()
    {
        $this->publish([
            __DIR__ . '/resources/views' => base_path('resources/views/vendor/acme'),
        ], 'views');

        $this->publish([
            __DIR__ . '/resources/lang' => base_path('resources/lang/vendor/acme'),
        ], 'lang');
    }

    public function getViewsDir()
    {
        return __DIR__ . '/resources/views';
    }

    public function getLangDir()
    {
        return __DIR__ . '/resources/lang';
    }

    public function register()
    {
        require __DIR__ . '/app/routes.php';

        $this->console->add(new AcmeConsoleCommand);

        return $this;
    }
}<commit_msg>adding proper doc blocks<commit_after><?php

namespace Acme\Acme;

use Bootstrap\Services\Service\ServiceProvider;
use Acme\Acme\App\Console\AcmeConsoleCommand;

class AcmeServiceProvider extends ServiceProvider
{
    protected $_alias = 'acme';
    protected $_shared = false;

    public function getViewsDir()
    {
        return __DIR__ . '/resources/views';
    }

    public function getLangDir()
    {
        return __DIR__ . '/resources/lang';
    }

    /**
     * {@inheritdoc}
     */
    public function boot()
    {
        $this->publish([
            __DIR__ . '/resources/views' => base_path('resources/views/vendor/acme'),
        ], 'views');

        $this->publish([
            __DIR__ . '/resources/lang' => base_path('resources/lang/vendor/acme'),
        ], 'lang');
    }

    /**
     * {@inheritdoc}
     *
     * @return mixed return this class itself
     */
    public function register()
    {
        # - you can use $this->route to add new route

        require __DIR__ . '/app/routes.php';


        # - link a new console command

        $this->console->add(new AcmeConsoleCommand);


        return $this;
    }
}
{'fraction_non_alphanumeric': 0.13290828837665522, 'fraction_numerical': 0.0, 'mean_word_length': 2.238095238095238, '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': '2387937', 'n_tokens_mistral': 611, 'n_tokens_neox': 593, 'n_words': 125}