protected function attachResponse($identity, $response, $key) { if ($identity instanceof Summoner) { $identity->set($key, $response); return true; } return false; }