<commit_before><?php
namespace Edu\Cnm\DdcAaaa;

class StudentPermit {
	use ValidateDate;

	/**
	 * @var int $studentPermitStudentId
	 */
	private $studentPermitStudentId;

	/**
	 * @var int $studentPermitPlacardId
	 */
	private $studentPermitPlacardId;

	/**
	 * @var int $studentPermitSwipeId
	 */
	private $studentPermitSwipeId;

	/**
	 * @var \DateTime $studentPermitCheckOutDate
	 */
	private $studentPermitCheckOutDate;

	/**
	 * @var \DateTime $studentPermitCheckInDate
	 */
	private $studentPermitCheckInDate;

	/**
	 * StudentPermit constructor.
	 * @param int $newStudentPermitStudentId
	 * @param int $newStudentPermitPlacardId
	 * @param int $newStudentPermitSwipeId
	 * @param \DateTime $newStudentPermitCheckOutDate
	 * @param \DateTime $newStudentPermitCheckInDate
	 * @throws \InvalidArgumentException
	 * @throws \RangeException
	 * @throws \TypeError
	 * @throws \Exception
	 */
	public function __construct(int $newStudentPermitStudentId, int $newStudentPermitPlacardId, int $newStudentPermitSwipeId, \DateTime $newStudentPermitCheckOutDate, \DateTime $newStudentPermitCheckInDate){
		try{
			$this->setStudentPermitStudentId($newStudentPermitStudentId);
			$this->setStudentPermitPlacardId($newStudentPermitPlacardId);
			$this->setStudentPermitSwipeId($newStudentPermitSwipeId);
			$this->setStudentPermitCheckInDate($newStudentPermitCheckInDate);
			$this->setStudentPermitCheckOutDate($newStudentPermitCheckOutDate);<commit_msg>Added ability to create StudentPermit object will null id<commit_after><?php
namespace Edu\Cnm\DdcAaaa;

class StudentPermit {
	use ValidateDate;

	/**
	 * @var int $studentPermitStudentId
	 */
	private $studentPermitStudentId;

	/**
	 * @var int $studentPermitPlacardId
	 */
	private $studentPermitPlacardId;

	/**
	 * @var int $studentPermitSwipeId
	 */
	private $studentPermitSwipeId;

	/**
	 * @var \DateTime $studentPermitCheckOutDate
	 */
	private $studentPermitCheckOutDate;

	/**
	 * @var \DateTime $studentPermitCheckInDate
	 */
	private $studentPermitCheckInDate;

	/**
	 * StudentPermit constructor.
	 * @param int|null $newStudentPermitStudentId
	 * @param int $newStudentPermitPlacardId
	 * @param int $newStudentPermitSwipeId
	 * @param \DateTime $newStudentPermitCheckOutDate
	 * @param \DateTime $newStudentPermitCheckInDate
	 * @throws \InvalidArgumentException
	 * @throws \RangeException
	 * @throws \TypeError
	 * @throws \Exception
	 */
	public function __construct(int $newStudentPermitStudentId = null, int $newStudentPermitPlacardId, int $newStudentPermitSwipeId, \DateTime $newStudentPermitCheckOutDate, \DateTime $newStudentPermitCheckInDate){
		try{
			$this->setStudentPermitStudentId($newStudentPermitStudentId);
			$this->setStudentPermitPlacardId($newStudentPermitPlacardId);
			$this->setStudentPermitSwipeId($newStudentPermitSwipeId);
			$this->setStudentPermitCheckInDate($newStudentPermitCheckInDate);
			$this->setStudentPermitCheckOutDate($newStudentPermitCheckOutDate);
{'fraction_non_alphanumeric': 0.10074374577417174, 'fraction_numerical': 0.0, 'mean_word_length': 5.833718244803695, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '2753937', 'n_tokens_mistral': 995, 'n_tokens_neox': 918, 'n_words': 158}