<?php


namespace App\ViewModels\Consulta\ConsultaUpdateViewModel;

use App\Utils\Collections\GeneralCollection;

class RespostaFormularioUpdateCollection extends GeneralCollection
{


    public function get (int $index) : RespostaFormularioUpdateAbstract {
        return $this->memory[$index];
    }

    public function push ($pergunta_registration) : void {
        $this->memory[] = $pergunta_registration;
        $this->length++;
    }


}