<commit_before><?php

class SocieteRouting {

    /**
     * Listens to the routing.load_configuration event.
     *
     * @param sfEvent An sfEvent instance
     * @static
     */
    static public function listenToRoutingLoadConfigurationEvent(sfEvent $event) {

        $r = $event->getSubject();

        $r->prependRoute('societe', new sfRoute('/societe', array('module' => 'societe',
            'action' => 'index')));

        $r->prependRoute('soc_etb_com_autocomplete_all', new sfRoute('/societe-etablissement-compte/autocomplete/:interpro_id/tous', array('module' => 'societe',
            'action' => 'fullautocomplete')));

        $r->prependRoute('soc_etb_com_autocomplete_actif', new sfRoute('/societe-etablissement-compte/autocomplete/:interpro_id/actif', array('module' => 'societe',
            'action' => 'actifautocomplete')));

        $r->prependRoute('societe_autocomplete_all', new sfRoute('/societe/autocomplete/:interpro_id/:type', array('module' => 'societe',
            'action' => 'autocomplete')));

        $r->prependRoute('societe_contact_chosen', new sfRoute('/societe-etablissement-compte/:identifiant/choisi', array('module' => 'societe',
            'action' => 'contactChosen')));


        $r->prependRoute('societe_choose', new SocieteCompteRoute('/societe/:identifiant/espace', array('module' => 'societe',
            'action' => 'monEspace'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')
        ));

        $r->prependRoute('societe_creation', new sfRoute('/societe-creation', array('module' => 'societe',
            'action' => 'creationSociete')));


        $r->prependRoute('societe_creation_doublon', new sfRoute('/societe-creation-doublon/:raison_sociale', array('module' => 'societe',
            'action' => 'creationSocieteDoublon')));

        $r->prependRoute('societe_nouvelle', new sfRoute('/societe-nouvelle/:raison_sociale', array('module' => 'societe',
            'action' => 'societeNew')));


        $r->prependRoute('societe_modification', new SocieteCompteRoute('/societe/:identifiant/modification', array('module' => 'societe',
            'action' => 'modification'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')
        ));

        $r->prependRoute('societe_annulation', new SocieteCompteRoute('/societe/:identifiant/annulation', array('module' => 'societe',
            'action' => 'annulation'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')
        ));


        $r->prependRoute('societe_visualisation', new SocieteCompteRoute('/societe/:identifiant/visualisation', array('module' => 'societe',
            'action' => 'visualisation'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')
        ));

        $r->prependRoute('societe_addContact', new SocieteCompteRoute('/societe/:identifiant/ajout-contact', array('module' => 'societe',
            'action' => 'addContact'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')<commit_msg>bug creation societe rs avec .<commit_after><?php

class SocieteRouting {

    /**
     * Listens to the routing.load_configuration event.
     *
     * @param sfEvent An sfEvent instance
     * @static
     */
    static public function listenToRoutingLoadConfigurationEvent(sfEvent $event) {

        $r = $event->getSubject();

        $r->prependRoute('societe', new sfRoute('/societe', array('module' => 'societe',
            'action' => 'index')));

        $r->prependRoute('soc_etb_com_autocomplete_all', new sfRoute('/societe-etablissement-compte/autocomplete/:interpro_id/tous', array('module' => 'societe',
            'action' => 'fullautocomplete')));

        $r->prependRoute('soc_etb_com_autocomplete_actif', new sfRoute('/societe-etablissement-compte/autocomplete/:interpro_id/actif', array('module' => 'societe',
            'action' => 'actifautocomplete')));

        $r->prependRoute('societe_autocomplete_all', new sfRoute('/societe/autocomplete/:interpro_id/:type', array('module' => 'societe',
            'action' => 'autocomplete')));

        $r->prependRoute('societe_contact_chosen', new sfRoute('/societe-etablissement-compte/:identifiant/choisi', array('module' => 'societe',
            'action' => 'contactChosen')));


        $r->prependRoute('societe_choose', new SocieteCompteRoute('/societe/:identifiant/espace', array('module' => 'societe',
            'action' => 'monEspace'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')
        ));

        $r->prependRoute('societe_creation', new sfRoute('/societe-creation', array('module' => 'societe',
            'action' => 'creationSociete')));


        $r->prependRoute('societe_creation_doublon', new sfRoute('/societe-creation-doublon', array('module' => 'societe',
            'action' => 'creationSocieteDoublon')));

        $r->prependRoute('societe_nouvelle', new sfRoute('/societe-nouvelle', array('module' => 'societe',
            'action' => 'societeNew')));


        $r->prependRoute('societe_modification', new SocieteCompteRoute('/societe/:identifiant/modification', array('module' => 'societe',
            'action' => 'modification'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')
        ));

        $r->prependRoute('societe_annulation', new SocieteCompteRoute('/societe/:identifiant/annulation', array('module' => 'societe',
            'action' => 'annulation'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')
        ));


        $r->prependRoute('societe_visualisation', new SocieteCompteRoute('/societe/:identifiant/visualisation', array('module' => 'societe',
            'action' => 'visualisation'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')
        ));

        $r->prependRoute('societe_addContact', new SocieteCompteRoute('/societe/:identifiant/ajout-contact', array('module' => 'societe',
            'action' => 'addContact'), array('sf_method' => array('get', 'post')), array('model' => 'Societe',
            'type' => 'object')
{'fraction_non_alphanumeric': 0.19173579589920176, 'fraction_numerical': 0.0, 'mean_word_length': 3.695077149155033, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 113, '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': '1465073', 'n_tokens_mistral': 2123, 'n_tokens_neox': 2048, 'n_words': 298}