<?php

namespace Plainwork\Ui\Component\Form;

class FormErrors
{
    private array $errors = [];

    public function __construct(array $errors)
    {
        $this->errors = $errors;
    }

    public function getErrors(): array
    {
        return $this->errors;
    }
}
