<commit_before><?php
class FactureRoute extends sfObjectRoute {

    protected $facture = null;

    protected function getObjectForParameters($parameters) {
        var_dump($parameters['id']); exit;
        $this->facture = FactureClient::getInstance()->find($parameters['id']);
        if (!$this->facture) {

            throw new sfError404Exception(sprintf('No Facture found with the id "%s".', $parameters['id']));
        }
        return $this->facture;
    }

    protected function doConvertObjectToArray($object) {  
        $parameters = array("id" => $object->_id);
        return $parameters;
    }

    public function getFacture() {
        if (!$this->facture) {
            $this->getObject();
        }
        return $this->facture;
    }

}<commit_msg>retrait d'un test<commit_after><?php
class FactureRoute extends sfObjectRoute {

    protected $facture = null;

    protected function getObjectForParameters($parameters) {
        $this->facture = FactureClient::getInstance()->find($parameters['id']);
        if (!$this->facture) {

            throw new sfError404Exception(sprintf('No Facture found with the id "%s".', $parameters['id']));
        }
        return $this->facture;
    }

    protected function doConvertObjectToArray($object) {  
        $parameters = array("id" => $object->_id);
        return $parameters;
    }

    public function getFacture() {
        if (!$this->facture) {
            $this->getObject();
        }
        return $this->facture;
    }

}
{'fraction_non_alphanumeric': 0.14314115308151093, 'fraction_numerical': 0.003976143141153081, 'mean_word_length': 2.6739659367396595, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '7250753', 'n_tokens_mistral': 430, 'n_tokens_neox': 416, 'n_words': 90}