<commit_before><?php
namespace Roketi\Panel\Domain\Model;

/*                                                                        *
 * This script belongs to the TYPO3 Flow package "Roketi.Panel".          *
 *                                                                        *
 *                                                                        */

use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;

/**
 * @Flow\Entity
 */
class Domain {

	/**
	 * @var \Roketi\Panel\Service\IdnaConvertService
	 */
	protected $idnaConvertService;

	/**
	 * @var string
	 */
	protected $name;

	/**
	 * @var string
	 */
	protected $idnaName;

	/**
	 * @var boolean
	 */
	protected $enableDNS;

	/**
	 * @var boolean
	 */
	protected $enableMailService;

	/**
	 * @var \DateTime
	 */
	protected $createTime;

	/**
	 * Injects the IDNA domain name converter instance
	 */
	public function injectIdnaConvertService(\Roketi\Panel\Service\IdnaConvertService $idnaConvertService) {
		$this->idnaConvertService = $idnaConvertService;
	}

	/**
	 * The constructor
	 * Used to set some default data for new objects.
	 */
	public function __construct() {
		$this->createTime = new \DateTime();

		$this->enableDNS = FALSE;
		$this->enableMailService = FALSE;
	}

	/**
	 * @return string
	 */
	public function getName() {
		return $this->name;
	}

	/**
	 * Sets the original domain name - may include umlauts in the domain name.<commit_msg>[TASK] Set default values with properties in Domain<commit_after><?php
namespace Roketi\Panel\Domain\Model;

/*                                                                        *
 * This script belongs to the TYPO3 Flow package "Roketi.Panel".          *
 *                                                                        *
 *                                                                        */

use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;

/**
 * @Flow\Entity
 */
class Domain {

	/**
	 * @var \Roketi\Panel\Service\IdnaConvertService
	 */
	protected $idnaConvertService;

	/**
	 * @var string
	 */
	protected $name;

	/**
	 * @var string
	 */
	protected $idnaName;

	/**
	 * @var boolean
	 */
	protected $enableDNS = FALSE;

	/**
	 * @var boolean
	 */
	protected $enableMailService = FALSE;

	/**
	 * @var \DateTime
	 */
	protected $createTime;

	/**
	 * Injects the IDNA domain name converter instance
	 */
	public function injectIdnaConvertService(\Roketi\Panel\Service\IdnaConvertService $idnaConvertService) {
		$this->idnaConvertService = $idnaConvertService;
	}

	/**
	 * The constructor
	 * Used to set some default data for new objects.
	 */
	public function __construct() {
		$this->createTime = new \DateTime();
	}

	/**
	 * @return string
	 */
	public function getName() {
		return $this->name;
	}

	/**
	 * Sets the original domain name - may include umlauts in the domain name.
{'fraction_non_alphanumeric': 0.11515782171349288, 'fraction_numerical': 0.001387443635102324, 'mean_word_length': 1.7972841901066925, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '832726', 'n_tokens_mistral': 858, 'n_tokens_neox': 784, 'n_words': 204}