Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3749765
D165.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
704 B
Referenced Files
None
Subscribers
None
D165.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D165: Improve Services class
Attached
Detach File
Event Timeline
Log In to Comment