<commit_before><?php
/**
* SDIS 62
*
* @category SDIS62
* @package SDIS62_Model_Entity_Abstract
*/

 /**
* Abstract class for entity instances.
*
* @category SDIS62
* @package SDIS62_Model_Entity_Abstract
*/
abstract class SDIS62_Model_Entity_Abstract implements SDIS62_Model_Entity_Interface
{
	/**
	* Set the primary key for the current entity
	*
	* @param int $primary
	* @return SDIS62_Model_Entity_Abstract Provides fluent interface
	*/ 
	public function setPrimary($primary)
	{
		if($this->primary === null)
		{
			$this->primary = $primary;
		}
		else
		{
			throw new Exception(500, "La clé primaire de l'entité existe déjà !");
		}
		return $this;
	}
	
	/**
	* Get the primary key for the current entity
	*
	* @return int
	*/ 
	public function getPrimary()<commit_msg>Ajout de la clé primaire directement dans la toolbox plutôt que dans l application<commit_after><?php
/**
* SDIS 62
*
* @category SDIS62
* @package SDIS62_Model_Entity_Abstract
*/

 /**
* Abstract class for entity instances.
*
* @category SDIS62
* @package SDIS62_Model_Entity_Abstract
*/
abstract class SDIS62_Model_Entity_Abstract implements SDIS62_Model_Entity_Interface
{
	/**
	* Primary key
	*
	* @var int
	*/
	public $primary;
	
	/**
	* Set the primary key for the current entity
	*
	* @param int $primary
	* @return SDIS62_Model_Entity_Abstract Provides fluent interface
	*/ 
	public function setPrimary($primary)
	{
		if($this->primary === null)
		{
			$this->primary = $primary;
		}
		else
		{
			throw new Exception(500, "La clé primaire de l'entité existe déjà !");
		}
		return $this;
	}
	
	/**
	* Get the primary key for the current entity
	*
	* @return int
	*/ 
	public function getPrimary()
{'fraction_non_alphanumeric': 0.10760998810939358, 'fraction_numerical': 0.022592152199762187, 'mean_word_length': 3.9067055393586005, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6706554', 'n_tokens_mistral': 618, 'n_tokens_neox': 562, 'n_words': 158}