Source of file IRestValidator.php
Size: 0,401 Bytes - Last Modified: 2021-12-23T10:07:36+00:00
/var/www/docs.ssmods.com/process/src/code/validators/IRestValidator.php
123456789101112131415161718 | <?php namespace Ntb\RestAPI; /** * Interface for data validators in the rest api. * @author Christian Blank <c.blank@notthatbad.net> */ interface IRestValidator { /** * Validates the given data and returns a mapped version back to the caller. * * @param array $data * @return array * @throws \ValidationException */ public static function validate($data); } |