<commit_before><?php

/*
 * Domain plugin for HiPanel
 *
 * @link      https://github.com/hiqdev/hipanel-module-domain
 * @package   hipanel-module-domain
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
 */

return [
    'aliases' => [
        '@domain' => '/domain/domain',
        '@host'   => '/domain/host',
        '@domain-check' => '/domain/check'
    ],
    'modules' => [
        'domain' => [
            'class' => \hipanel\modules\domain\Module::class,
        ],
    ],
    'components' => [
        'i18n' => [
            'translations' => [
                'hipanel:domain' => [
                    'class' => \yii\i18n\PhpMessageSource::class,
                    'forceTranslation' => true,
                    'basePath' => '@hipanel/modules/domain/messages',
                ],
            ],
        ],
        'menuManager' => [
            'items' => [
                'sidebar' => [
                    'add' => [
                        'check-domain' => [
                            'menu' => \hipanel\modules\domain\menus\CheckDomainMenu::class,
                            'where' => 'first',
                        ],
                        'domain' => [
                            'menu' => [
                                'class' => \hipanel\modules\domain\menus\SidebarMenu::class,
                            ],
                            'where' => [
                                'after'  => ['tickets', 'finance', 'clients', 'dashboard', 'header'],
                                'before' => ['servers', 'hosting'],
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
];<commit_msg>moved menus definitions to DI<commit_after><?php

/*
 * Domain plugin for HiPanel
 *
 * @link      https://github.com/hiqdev/hipanel-module-domain
 * @package   hipanel-module-domain
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
 */

return [
    'aliases' => [
        '@domain' => '/domain/domain',
        '@host'   => '/domain/host',
        '@domain-check' => '/domain/check'
    ],
    'modules' => [
        'domain' => [
            'class' => \hipanel\modules\domain\Module::class,
        ],
    ],
    'components' => [
        'i18n' => [
            'translations' => [
                'hipanel:domain' => [
                    'class' => \yii\i18n\PhpMessageSource::class,
                    'forceTranslation' => true,
                    'basePath' => '@hipanel/modules/domain/messages',
                ],
            ],
        ],
        'menuManager' => [
            'items' => [
                'sidebar' => [
                    'add' => [
                    ],
                ],
            ],
        ],
    ],
    'container' => [
        'definitions' => [
            \hiqdev\thememanager\menus\AbstractSidebarMenu::class => [
                'add' => [
                    'check-domain' => [
                        'menu' => \hipanel\modules\domain\menus\CheckDomainMenu::class,
                        'where' => 'first',
                    ],
                    'domain' => [
                        'menu' => [
                            'class' => \hipanel\modules\domain\menus\SidebarMenu::class,
                        ],
                        'where' => [
                            'after'  => ['tickets', 'finance', 'clients', 'dashboard', 'header'],
                            'before' => ['servers', 'hosting'],
                        ],
                    ],
                ],
            ],
        ],
    ],
];
{'fraction_non_alphanumeric': 0.16285403050108932, 'fraction_numerical': 0.007080610021786492, 'mean_word_length': 1.0371602884082085, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 61, 'https://': 2, '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': '2810697', 'n_tokens_mistral': 1031, 'n_tokens_neox': 1010, 'n_words': 132}