Skip to content

Commit

Permalink
Add method for Comunidade Islamica de Lisboa
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Dec 12, 2023
1 parent 53f9b45 commit b584a13
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/PrayerTimes/Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Method
const METHOD_ALGERIA = 'ALGERIA'; // 19
const METHOD_KEMENAG = 'KEMENAG'; // 20
const METHOD_MOROCCO = 'MOROCCO'; // 21
const METHOD_PORTUGAL = 'PORTUGAL'; // 22
const METHOD_CUSTOM = 'CUSTOM'; // 99

/**
Expand Down Expand Up @@ -110,6 +111,7 @@ public static function getMethodCodes(): array
self::METHOD_ALGERIA,
self::METHOD_KEMENAG,
self::METHOD_MOROCCO,
self::METHOD_PORTUGAL,
self::METHOD_CUSTOM,
];
}
Expand Down Expand Up @@ -369,6 +371,19 @@ public static function getMethods(): array
'longitude' => -6.8498129
]
],
self::METHOD_PORTUGAL => [
'id' => 22,
'name' => 'Comunidade Islamica de Lisboa',
'params' => [
PrayerTimes::FAJR => 18,
PrayerTimes::MAGHRIB => '3 min',
PrayerTimes::ISHA => '77 min',
],
'location' => [ // Lisbon, Portugal
'latitude' => 38.7222524,
'longitude' => -9.1393366
]
],
self::METHOD_CUSTOM => [
'id' => 99
],
Expand Down

0 comments on commit b584a13

Please sign in to comment.