<?php


namespace App\ViewModels\Consulta\ConsultaRegistrationViewModel;

use App\Utils\Collections\GeneralCollection;

class RespostaFormularioCollection extends GeneralCollection
{
    public function get (int $index) : RespostaFormularioAbstract {
        return $this->memory[$index];
    }
    public function push ($pergunta_registration) : void {
        $this->memory[] = $pergunta_registration;
        $this->length++;
    }
}