Skip to content
Snippets Groups Projects
ValidationErrorCollection.php 332 B
Newer Older
<?php

namespace App\Shared\Collection;

use App\Shared\Dto\ErrorDto;
use App\Shared\Dto\FileDto;

class ValidationErrorCollection extends DtoCollection
{
    private string $collectionType = ErrorDto::class;

    public function __construct(array $data = [])
    {
        parent::__construct($this->collectionType, $data);
    }
}