Page MenuHomeDevCentral

D165.diff
No OneTemporary

D165.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
Fri, May 2, 08:22 (17 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2621061
Default Alt Text
D165.diff (704 B)

Event Timeline