<commit_before><?php

namespace SPHERE\Application\Billing\Inventory\Import;

use SPHERE\Application\Billing\Accounting\Debtor\Debtor;
use SPHERE\Application\IModuleInterface;
use SPHERE\Application\Platform\Gatekeeper\Authorization\Consumer\Consumer;
use SPHERE\Common\Main;
use SPHERE\Common\Window\Navigation\Link;
use SPHERE\System\Database\Link\Identifier;
use SPHERE\System\Extension\Extension;


/**
 * Class Import
 * @package SPHERE\Application\Billing\Inventory\Import
 */
class Import extends Extension implements IModuleInterface
{

    public static function registerModule()
    {
        if(Debtor::useService()->getDebtorSelectionCount() == 0){
            Main::getDisplay()->addModuleNavigation(
                new Link(new Link\Route(__NAMESPACE__), new Link\Name('Datenimport'))
            );
        }
        Main::getDispatcher()->registerRoute(Main::getDispatcher()->createRoute(
            __NAMESPACE__, __NAMESPACE__.'/Frontend::frontendDashboard'
        ));

        Main::getDispatcher()->registerRoute(Main::getDispatcher()->createRoute(
            __NAMESPACE__.'/Prepare', __NAMESPACE__.'/Frontend::frontendImportPrepare'
        ));<commit_msg>Symbol Datenimport<commit_after><?php

namespace SPHERE\Application\Billing\Inventory\Import;

use SPHERE\Application\Billing\Accounting\Debtor\Debtor;
use SPHERE\Application\IModuleInterface;
use SPHERE\Application\Platform\Gatekeeper\Authorization\Consumer\Consumer;
use SPHERE\Common\Frontend\Icon\Repository\Upload;
use SPHERE\Common\Main;
use SPHERE\Common\Window\Navigation\Link;
use SPHERE\System\Database\Link\Identifier;
use SPHERE\System\Extension\Extension;


/**
 * Class Import
 * @package SPHERE\Application\Billing\Inventory\Import
 */
class Import extends Extension implements IModuleInterface
{

    public static function registerModule()
    {
        if(Debtor::useService()->getDebtorSelectionCount() == 0){
            Main::getDisplay()->addModuleNavigation(
                new Link(new Link\Route(__NAMESPACE__), new Link\Name('Datenimport'), new Link\Icon(new Upload()))
            );
        }
        Main::getDispatcher()->registerRoute(Main::getDispatcher()->createRoute(
            __NAMESPACE__, __NAMESPACE__.'/Frontend::frontendDashboard'
        ));

        Main::getDispatcher()->registerRoute(Main::getDispatcher()->createRoute(
            __NAMESPACE__.'/Prepare', __NAMESPACE__.'/Frontend::frontendImportPrepare'
        ));
{'fraction_non_alphanumeric': 0.12331563903634137, 'fraction_numerical': 0.0008166598611678236, 'mean_word_length': 4.093555093555094, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '5904185', 'n_tokens_mistral': 702, 'n_tokens_neox': 693, 'n_words': 96}