diff --git a/src/PrayerTimes/Method.php b/src/PrayerTimes/Method.php index 7c79f35..b0371bc 100644 --- a/src/PrayerTimes/Method.php +++ b/src/PrayerTimes/Method.php @@ -31,6 +31,7 @@ class Method const METHOD_KEMENAG = 'KEMENAG'; // 20 const METHOD_MOROCCO = 'MOROCCO'; // 21 const METHOD_PORTUGAL = 'PORTUGAL'; // 22 + const METHOD_JORDAN = 'JORDAN'; // 23 const METHOD_CUSTOM = 'CUSTOM'; // 99 /** @@ -112,6 +113,7 @@ public static function getMethodCodes(): array self::METHOD_KEMENAG, self::METHOD_MOROCCO, self::METHOD_PORTUGAL, + self::METHOD_JORDAN, self::METHOD_CUSTOM, ]; } @@ -384,6 +386,19 @@ public static function getMethods(): array 'longitude' => -9.1393366 ] ], + self::METHOD_JORDAN => [ + 'id' => 23, + 'name' => 'Ministry of Awqaf, Islamic Affairs and Holy Places, Jordan', + 'params' => [ + PrayerTimes::FAJR => 18, + PrayerTimes::MAGHRIB => '5 min', + PrayerTimes::ISHA => 18, + ], + 'location' => [ // Amman, Jordan + 'latitude' => 31.9461222, + 'longitude' => 35.923844 + ] + ], self::METHOD_CUSTOM => [ 'id' => 99 ],