<?php

namespace Velis\Mvc\Validators;

interface ValidatorInterface
{
    public function getErrors(): array;
    public function hasErrors(): bool;
    public function validate(array $data): void;
}
