public function wake($site_env)
{
list(, $env) = $this->getSiteEnv($site_env);
$data = $env->wake();
// @TODO: Move the exceptions up the chain to the `wake` function. (One env is ported over).
if (empty($data['success'])) {
throw new TerminusException('Could not reach {target}', $data);
}
if (empty($data['styx'])) {
throw new TerminusException('Pantheon headers missing, which is not quite right.');
}
$this->log()->notice('OK >> {target} responded in {time}', $data);
}