<commit_before><?php
namespace Edu\Cnm\Mcrane2\Profile;

require_once("autoload.php");
/**
 * Small Cross Section of a Gighub like Message
 *
 * This
 */<commit_msg>initialized profile class and private state variables, created JsonSerializable method<commit_after><?php
namespace Edu\Cnm\Mcrane2\Profile;

require_once("autoload.php");
/**
 * Profile class
 *
 * Profile class as basis for most social networking features on GigHub, like a Facebook profile page. This can be extended to emulate more features of GigHub.
 *
 * @author <NAME> <<EMAIL>>
 * @version 1.0.0
 **/
class Profile implements \JsonSerializable {
	/**
	 * id for this profile; this is the primary key
	 * @var int $profileId
	 **/
	private $profileId;
	/**
	 * id for profile OAuth; this is a foreign key
	 * @var int $profileOAuthId
	 **/
	private $profileOAuthId;
	/**
	 * id for profile type; this is a foreign key
	 * @var int $profileTypeId
	 **/
	private $profileTypeId;
	/**
	 * textual content of this profile bio
	 * @var $profileBio
	 **/
	private $profileBio;
	/**
	 * id for cloudinary image for this profile
	 * @var $profileImageCloudinaryId
	 **/
	private $profileImageCloudinaryId;
	/**
	 * location content for this profile
	 * @var $profileLocation
	 **/
	private $profileLocation;
	/**
	 * token content for OAuth for this profile
	 * @var $profileOAuthToken
	 **/
	private $profileOAuthToken;
	/**
	 * SoundCloud username content for this profile
	 * @var $profileSoundCloudUser
	 **/
	private $profileSoundCloudUser;
	/**
	 * username content for this profile
	 * @var $profileUserName
	 **/
	private $profileUserName;

	/**
	 * accessor method for profile id
	 *
	 * @return int|null value of profile id
	 **/


	/**
	 * formats the state variables for JSON serialization
	 *
	 * @return array resulting state variables to serialize
	 **/
	public function jsonSerialize() {
		$fields = get_object_vars($this);
		return($fields);
	}
}
{'fraction_non_alphanumeric': 0.11047717842323651, 'fraction_numerical': 0.0025933609958506223, 'mean_word_length': 3.704878048780488, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5189005', 'n_tokens_mistral': 607, 'n_tokens_neox': 564, 'n_words': 196}