@@ 120-128 (lines=9) @@ | ||
117 | * |
|
118 | * @see http://cloudapi.acquia.com/#GET__sites__site_envs__env-instance_route |
|
119 | */ |
|
120 | public function environment($site, $env) |
|
121 | { |
|
122 | $variables = array( |
|
123 | 'site' => $site, |
|
124 | 'env' => $env, |
|
125 | ); |
|
126 | $request = $this->get(array('{+base_path}/sites/{site}/envs/{env}.json', $variables)); |
|
127 | return new Response\Environment($request); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * @param string $site |
|
@@ 198-206 (lines=9) @@ | ||
195 | * |
|
196 | * @see http://cloudapi.acquia.com/#GET__sites__site_envs__env_servers-instance_route |
|
197 | */ |
|
198 | public function servers($site, $env) |
|
199 | { |
|
200 | $variables = array( |
|
201 | 'site' => $site, |
|
202 | 'env' => $env, |
|
203 | ); |
|
204 | $request = $this->get(array('{+base_path}/sites/{site}/envs/{env}/servers.json', $variables)); |
|
205 | return new Response\Servers($request); |
|
206 | } |
|
207 | ||
208 | /** |
|
209 | * @param string $site |
|
@@ 513-521 (lines=9) @@ | ||
510 | * |
|
511 | * @see http://cloudapi.acquia.com/#GET__sites__site_envs__env_dbs-instance_route |
|
512 | */ |
|
513 | public function environmentDatabases($site, $env) |
|
514 | { |
|
515 | $variables = array( |
|
516 | 'site' => $site, |
|
517 | 'env' => $env, |
|
518 | ); |
|
519 | $request = $this->get(array('{+base_path}/sites/{site}/envs/{env}/dbs.json', $variables)); |
|
520 | return new Response\Databases($request); |
|
521 | } |
|
522 | ||
523 | /** |
|
524 | * @param string $site |
|
@@ 737-745 (lines=9) @@ | ||
734 | * |
|
735 | * @see http://cloudapi.acquia.com/#GET__sites__site_envs__env_domains-instance_route |
|
736 | */ |
|
737 | public function domains($site, $env) |
|
738 | { |
|
739 | $variables = array( |
|
740 | 'site' => $site, |
|
741 | 'env' => $env, |
|
742 | ); |
|
743 | $request = $this->get(array('{+base_path}/sites/{site}/envs/{env}/domains.json', $variables)); |
|
744 | return new Response\Domains($request); |
|
745 | } |
|
746 | ||
747 | /** |
|
748 | * @param string $site |