icingaweb2-module-director/library/vendor/ipl/Validator/ValidatorInterface.php

19 lines
282 B
PHP
Raw Normal View History

2018-06-07 23:32:39 +02:00
<?php
namespace dipl\Validator;
interface ValidatorInterface
{
/**
* // TODO: @throws \RuntimeException
* @param mixed $value
* @return bool
*/
public function isValid($value);
/**
* @return array
*/
public function getMessages();
}