uawdijnntqw1x1x1
IP : 216.73.216.227
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
learnoid.codeskitter.site
/
app
/
Http
/
Resources
/
QuizSessionResource.php
/
/
<?php namespace App\Http\Resources; use Illuminate\Http\Request; use Illuminate\Http\Resources\Json\JsonResource; class QuizSessionResource extends JsonResource { /** * Transform the resource into an array. * * @return array<string, mixed> */ public function toArray(Request $request): array { return [ 'id' => $this->id, 'seen_question_ids' => json_decode($this->seen_question_ids) ?? [], 'answered_question_ids' => json_decode($this->answered_question_ids) ?? [], 'right_answer_count' => $this->right_answer_count ?? 0, 'wrong_answer_count' => $this->wrong_answer_count ?? 0, 'quiz_duration' => $this->quiz->duration_per_question, 'skipped_answer_count' => $this->skipped_answer_count ?? 0, 'last_answered_at' => $this->last_answered_at, 'obtained_mark' => $this->obtained_mark ?? 0, ]; } }
/home/users/unlimited/www/learnoid.codeskitter.site/app/Http/Resources/QuizSessionResource.php