File tree Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 33All interactions with the [ ` v1/agent ` ] ( https://www.consul.io/docs/agent/http/agent.html ) endpoint are done
44via the [ AgentClient] ( ../src/Agent/AgentClient.php ) class.
55
6- If you have constructed a [ Client] ( ./src/Client.php ) object, this is done as so:
6+ If you have constructed a [ Client] ( .. /src/Client.php ) object, this is done as so:
77
88``` php
99$agent = $client->Agent;
Original file line number Diff line number Diff line change 33* This class is still under heavy development*
44
55All interactions with the [ ` v1/catalog ` ] ( https://www.consul.io/docs/agent/http/catalog.html ) endpoint are done
6- via the [ CatalogClient] ( ./src/Catalog/CatalogClient.php ) class.
6+ via the [ CatalogClient] ( .. /src/Catalog/CatalogClient.php ) class.
77
8- If you have constructed a [ Client] ( ./src/Client.php ) object, this is done as so:
8+ If you have constructed a [ Client] ( .. /src/Client.php ) object, this is done as so:
99
1010``` php
1111$catalog = $client->Catalog;
Original file line number Diff line number Diff line change 11# PHP Consul API Coordinate
22
33All interactions with the [ ` v1/coordinate ` ] ( https://www.consul.io/docs/agent/http/coordinate.html ) endpoint are done
4- via the [ CoordinateClient] ( ./src/Coordinate/CoordinateClient.php ) class.
4+ via the [ CoordinateClient] ( .. /src/Coordinate/CoordinateClient.php ) class.
55
6- If you have constructed a [ Client] ( ./src/Client.php ) object, this is done as so:
6+ If you have constructed a [ Client] ( .. /src/Client.php ) object, this is done as so:
77
88``` php
99$coordinate = $client->Coordinate;
Original file line number Diff line number Diff line change 11# PHP Consul API Event
22
33All interactions with the [ ` v1/event ` ] ( https://www.consul.io/docs/agent/http/event.html ) endpoint
4- are done via the [ EventClient] ( ./src/Event/EventClient.php ) class.
4+ are done via the [ EventClient] ( .. /src/Event/EventClient.php ) class.
55
6- If you have constructed a [ Client] ( ./src/Client.php ) object, this is done as so:
6+ If you have constructed a [ Client] ( .. /src/Client.php ) object, this is done as so:
77
88``` php
99$event = $client->Event;
Original file line number Diff line number Diff line change 11# PHP Consul API Health
22
33ALl interactions with the [ ` v1/health ` ] ( https://www.consul.io/docs/agent/http/health.html ) endpoint are done
4- via the [ HealthClient] ( ./src/Health/HealthClient.php ) class.
4+ via the [ HealthClient] ( .. /src/Health/HealthClient.php ) class.
55
6- If you have constructed a [ Client] ( ./src/Client.php ) object, this is done as so:
6+ If you have constructed a [ Client] ( .. /src/Client.php ) object, this is done as so:
77
88``` php
99$health = $client->Health;
Original file line number Diff line number Diff line change 11# PHP Consul API KV
22
33All interactions with the [ ` v1/kv ` ] ( https://www.consul.io/docs/agent/http/kv.html ) endpoint are done
4- via the [ KVClient] ( ./src/KV/KVClient.php ) class.
4+ via the [ KVClient] ( .. /src/KV/KVClient.php ) class.
55
6- If you have constructed a [ Client] ( ./src/Client.php ) object, this is done as so:
6+ If you have constructed a [ Client] ( .. /src/Client.php ) object, this is done as so:
77
88``` php
99$kv = $client->KV;
Original file line number Diff line number Diff line change 11# PHP Consul API Status
22
33All interactions with the [ ` v1/status ` ] ( https://www.consul.io/docs/agent/http/status.html ) endpoint
4- are done via the [ StatusClient] ( ./src/Status/StatusClient.php ) class.
4+ are done via the [ StatusClient] ( .. /src/Status/StatusClient.php ) class.
55
6- If you have constructed a [ Client] ( ./src/Client.php ) object, this is done as so:
6+ If you have constructed a [ Client. ./src/Client.php) object, this is done as so:
77
88``` php
99$status = $client->Status;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ trait ConsulHttpParamContainerTrait
2828 public function buildHttpQueryArray ()
2929 {
3030 $ params = array ();
31- foreach ($ this as $ k=> $ v )
31+ foreach ($ this as $ k => $ v )
3232 {
3333 if (null !== $ v )
3434 {
You can’t perform that action at this time.
0 commit comments