<commit_before><?php

namespace AppBundle\Model;

class Class {

  function __construct() {
    // CODE
  }

  public function toString() {
    return "";
  }

}<commit_msg>Modif template de base pour les classes Model<commit_after><?php

namespace AppBundle\Model;

class Class {

  // VARIABLES
  private $var;

  // CONSTRUCTOR
  public function __construct() {}

  // GETTER & SETTER
  public function getVar() { return $this->var; }
  public function setVar($var) { $this->var = $var; }

  // TOOL FUNCTIONS
  public function toString() {
    $str = "Class - [ ";
    $str .= "var : " . ((isset($this->getVar()) && $this->getVar() != null) ? $this->getVar() : "");
    $str .= " ]";
    return $str;
  }

}
{'fraction_non_alphanumeric': 0.17158931082981715, 'fraction_numerical': 0.0, 'mean_word_length': 2.912087912087912, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '2217330', 'n_tokens_mistral': 242, 'n_tokens_neox': 237, 'n_words': 59}