<commit_before><?php
	/**
	 * Created by PhpStorm.
	 * User: kargnas
	 * Date: 2017-06-26
	 * Time: 02:10
	 */

	namespace RiotQuest\Constant;

	class Platform
	{
		/**
		 * @var string
		 * @deprecated
		 */
		public $region;

		/** @var string */
		public $platform, $apiHost;

		/**
		 * @return Platform[]
		 */
		public static function getAll() {
			return [
				static::BR(),
				static::EUNE(),
				static::EUW(),
				static::JP(),
				static::KR(),
				static::LAN(),
				static::LAS(),
				static::NA(),
				static::OCE(),
				static::TR(),
				static::RU(),
				static::SG(),
				static::ID(),
				static::PH(),
				static::TW(),
				static::VN(),
				static::TH(),
			];
		}

		public static function BR() {
			$platform           = new static();
			$platform->region   = 'BR';
			$platform->platform = 'BR1';
			$platform->apiHost  = 'br1.api.riotgames.com';
			return $platform;
		}

		public static function EUNE() {
			$platform           = new static();
			$platform->region   = 'EUNE';
			$platform->platform = 'EUN1';
			$platform->apiHost  = 'eun1.api.riotgames.com';
			return $platform;
		}

		public static function EUW() {
			$platform           = new static();
			$platform->region   = 'EUW';
			$platform->platform = 'EUW1';
			$platform->apiHost  = 'euw1.api.riotgames.com';
			return $platform;
		}

		public static function JP() {
			$platform           = new static();
			$platform->region   = 'JP';
			$platform->platform = 'JP1';
			$platform->apiHost  = 'jp1.api.riotgames.com';
			return $platform;
		}

		public static function KR() {
			$platform           = new static();
			$platform->region   = 'KR';
			$platform->platform = 'KR';
			$platform->apiHost  = 'kr.api.riotgames.com';
			return $platform;
		}

		public static function LAN() {
			$platform           = new static();
			$platform->region   = 'LAN';
			$platform->platform = 'LA1';
			$platform->apiHost  = 'la1.api.riotgames.com';
			return $platform;
		}

		public static function LAS() {
			$platform           = new static();
			$platform->region   = 'LAS';
			$platform->platform = 'LA2';
			$platform->apiHost  = 'la2.api.riotgames.com';
			return $platform;
		}

		public static function NA() {
			$platform           = new static();
			$platform->region   = 'NA';
			$platform->platform = 'NA1';
			$platform->apiHost  = 'na1.api.riotgames.com';
			return $platform;
		}

		public static function OCE() {
			$platform           = new static();
			$platform->region   = 'OCE';
			$platform->platform = 'OC1';
			$platform->apiHost  = 'oc1.api.riotgames.com';
			return $platform;
		}

		public static function TR() {
			$platform           = new static();
			$platform->region   = 'TR';
			$platform->platform = 'TR1';
			$platform->apiHost  = 'tr1.api.riotgames.com';
			return $platform;
		}

		public static function RU() {
			$platform           = new static();
			$platform->region   = 'RU';
			$platform->platform = 'RU';
			$platform->apiHost  = 'ru.api.riotgames.com';
			return $platform;
		}

		public static function SG() {
			$platform           = new static();
			$platform->region   = 'SG';
			$platform->platform = 'SG';
			$platform->apiHost  = 'sg.api.riotgames.com';
			return $platform;
		}

		public static function ID() {
			$platform           = new static();
			$platform->region   = 'ID';
			$platform->platform = 'ID';
			$platform->apiHost  = 'id1.api.riotgames.com';
			return $platform;
		}

		public static function PH() {
			$platform           = new static();
			$platform->region   = 'PH';
			$platform->platform = 'PH';
			$platform->apiHost  = 'ph.api.riotgames.com';
			return $platform;
		}

		public static function TW() {
			$platform           = new static();
			$platform->region   = 'TW';
			$platform->platform = 'TW';
			$platform->apiHost  = 'tw.api.riotgames.com';
			return $platform;
		}
<commit_msg>Make changable variable to Philippines host<commit_after><?php
	/**
	 * Created by PhpStorm.
	 * User: kargnas
	 * Date: 2017-06-26
	 * Time: 02:10
	 */

	namespace RiotQuest\Constant;

	class Platform
	{
		public static $API_HOST_PH = 'ph.api.riotgames.com';

		/**
		 * @var string
		 * @deprecated
		 */
		public $region;

		/** @var string */
		public $platform, $apiHost;

		/**
		 * @return Platform[]
		 */
		public static function getAll() {
			return [
				static::BR(),
				static::EUNE(),
				static::EUW(),
				static::JP(),
				static::KR(),
				static::LAN(),
				static::LAS(),
				static::NA(),
				static::OCE(),
				static::TR(),
				static::RU(),
				static::SG(),
				static::ID(),
				static::PH(),
				static::TW(),
				static::VN(),
				static::TH(),
			];
		}

		public static function BR() {
			$platform           = new static();
			$platform->region   = 'BR';
			$platform->platform = 'BR1';
			$platform->apiHost  = 'br1.api.riotgames.com';
			return $platform;
		}

		public static function EUNE() {
			$platform           = new static();
			$platform->region   = 'EUNE';
			$platform->platform = 'EUN1';
			$platform->apiHost  = 'eun1.api.riotgames.com';
			return $platform;
		}

		public static function EUW() {
			$platform           = new static();
			$platform->region   = 'EUW';
			$platform->platform = 'EUW1';
			$platform->apiHost  = 'euw1.api.riotgames.com';
			return $platform;
		}

		public static function JP() {
			$platform           = new static();
			$platform->region   = 'JP';
			$platform->platform = 'JP1';
			$platform->apiHost  = 'jp1.api.riotgames.com';
			return $platform;
		}

		public static function KR() {
			$platform           = new static();
			$platform->region   = 'KR';
			$platform->platform = 'KR';
			$platform->apiHost  = 'kr.api.riotgames.com';
			return $platform;
		}

		public static function LAN() {
			$platform           = new static();
			$platform->region   = 'LAN';
			$platform->platform = 'LA1';
			$platform->apiHost  = 'la1.api.riotgames.com';
			return $platform;
		}

		public static function LAS() {
			$platform           = new static();
			$platform->region   = 'LAS';
			$platform->platform = 'LA2';
			$platform->apiHost  = 'la2.api.riotgames.com';
			return $platform;
		}

		public static function NA() {
			$platform           = new static();
			$platform->region   = 'NA';
			$platform->platform = 'NA1';
			$platform->apiHost  = 'na1.api.riotgames.com';
			return $platform;
		}

		public static function OCE() {
			$platform           = new static();
			$platform->region   = 'OCE';
			$platform->platform = 'OC1';
			$platform->apiHost  = 'oc1.api.riotgames.com';
			return $platform;
		}

		public static function TR() {
			$platform           = new static();
			$platform->region   = 'TR';
			$platform->platform = 'TR1';
			$platform->apiHost  = 'tr1.api.riotgames.com';
			return $platform;
		}

		public static function RU() {
			$platform           = new static();
			$platform->region   = 'RU';
			$platform->platform = 'RU';
			$platform->apiHost  = 'ru.api.riotgames.com';
			return $platform;
		}

		public static function SG() {
			$platform           = new static();
			$platform->region   = 'SG';
			$platform->platform = 'SG';
			$platform->apiHost  = 'sg.api.riotgames.com';
			return $platform;
		}

		public static function ID() {
			$platform           = new static();
			$platform->region   = 'ID';
			$platform->platform = 'ID';
			$platform->apiHost  = 'id1.api.riotgames.com';
			return $platform;
		}

		public static function PH() {
			$platform           = new static();
			$platform->region   = 'PH';
			$platform->platform = 'PH';
			$platform->apiHost  = static::$API_HOST_PH;
			return $platform;
		}

		public static function TW() {
			$platform           = new static();
			$platform->region   = 'TW';
			$platform->platform = 'TW';
			$platform->apiHost  = 'tw.api.riotgames.com';
			return $platform;
		}

{'fraction_non_alphanumeric': 0.1730423620025674, 'fraction_numerical': 0.007958921694480103, 'mean_word_length': 2.5157942238267146, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 93, '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': '208535', 'n_tokens_mistral': 3224, 'n_tokens_neox': 2552, 'n_words': 555}