ewallet/src/Application/InputValidation/ValidationResult.php
<?php declare(strict_types=1);
/**
* PHP version 7.4
*
* This source file is subject to the license that is bundled with this package in the file LICENSE.
*/
namespace Application\InputValidation;
interface ValidationResult
{
public function isValid(): bool;
/** @return mixed[] */
public function errors(): array;
}