private function parseFailed($responseInJson) { if (array_key_exists(self::FAILED_REGISTRATION_IDS, $responseInJson)) { foreach ($responseInJson[self::FAILED_REGISTRATION_IDS] as $registrationId) { $this->tokensFailed[] = $registrationId; } } }