Page MenuHomeDevCentral

D165.id.diff
No OneTemporary

D165.id.diff

diff --git a/app/Services.php b/app/Services.php
--- a/app/Services.php
+++ b/app/Services.php
@@ -6,6 +6,10 @@
class Services {
+ ///
+ /// Methods to get a list of services
+ ///
+
/**
* Gets the services found in credentials.json
*
@@ -24,7 +28,7 @@
* @return array
*/
public static function getForGate ($gate) {
- return $services = [];
+ $services = [];
foreach (self::get() as $service) {
if ($service->gate === $gate) {
@@ -35,6 +39,9 @@
return $services;
}
+ ///
+ /// Methods to find a service matching criteria
+ ///
/**
* Gets the service for a specific gate and door

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 17:44 (6 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2249682
Default Alt Text
D165.id.diff (704 B)

Event Timeline